Well, I''m suddenly confused. I''m getting this error...
Dec 3 15:55:37 gumby puppetd[15606]: Configuration could not be
instantiated: Could not find dependency Class[java::jdk] for
Package[tf-tomcat-starterkit-tfel0] at
/etc/puppet/modules/tomcat/manifests/init.pp:19
I can''t see why.The aforementioned line 19 in tomcat/manifests/init.pp
is the line containing "require => Class["java::jdk"];".
I have
exactly the same thing in the jboss module d it doesn''t complain that
it can''t find the java::jdk class.
Here''s the relevant sections of my files...
File /etc/puppet/manifests/site.pp:
import "definitions/*.pp"
import "modules/*.pp"
import "nodes/*.pp"
File /etc/puppet/manifests/modules/modules.pp:
import "java"
import "jboss"
import "tomcat"
File /etc/puppet/modules/tomcat/manifests/base.pp:
node app_node inherits fremont_node {
include jboss::server
include tomcat::server
}
File /etc/puppet/manifests/nodes/fr,xxx,com:
node ''pokey.fr.xxx.com'' inherits app_node {
include elements::base
include starterkit::base
}
File /etc/puppet/modules/tomcat/manifests/init.pp:
define tomcat::create_inst($version, $software) {
package {
"tf-tomcat-${software}-${name}":
before =>
File["/opt/tomcat/${name}/${software}/current"],
ensure => installed,
require => Class["java::jdk"];
}
}
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.