Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type jdk7::javaexec

asked 2014-01-31 20:04:59 -0600

supriya gravatar image

Hi , I have a jdk7 module which contains install7.pp and javaexec.pp. To modify those parameters I am defining wrapper class in that I added class javajdk {

include jdk7,java7_exec

jdk7::install7{ "jdk1.7.025" : version => "7u25", fullVersion => "jdk1.7.025", x64 => true, user => oracle, group => oinstall, alternativesPriority => 17065, downloadDir => "/data/install", urandomJavaFix => true, sourcePath => "/stage/", } class java7exec{ $path = "/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:" $fullVersion = "jdk1.7.025" $jdkfile = "jdk-${version}-${installVersion}-${type}${installExtension}" $user = 'oracle' $group = 'oinstall'

jdk7::javaexec{ 'java7exec' : path => $path, fullVersion => "jdk1.7.0 ... (more)

edit retag flag offensive close merge delete