List,

 Good morning. I'm trying to get some require stuff in my puppet manifests
to work (as I think they should) but something is wrong.  I'm trying to do a
require => Class["module::subclass::subclass::class"] but it is not working.


My current directory structure is as follows:

modules/services/{files,templates,manifests}
modules/packages/{files,templates,manifests}
modules/firewall/{files,templates,manifests}
       firewall/manifests/init.pp, etc
       firewall/manifests/rules/{client,server}/rule_name.pp

manifests/{site.pp, nodes.pp, baseline.pp, etc}


So I have built a module to construct a firewall based upon some static
scripts and fragments, which is working great. In my baseline.pp I can do
something like Include firewall::rules::server::allow_ssh and everything
works as intended. My problem is that I don't want to do all of these in my
baseline manifest. I also have manifests in the packages and services module
that handle package installation and service operations. For example in my
ssh manifest in the packages module I can do something like Notify =>
Class["services::ssh"] and this works as intended, but if I try to do a
require => Class["firewall::rules::server::allow_ssh"] puppet complains that
it can't locate the dependency. How can I get this to work?

I'm currently using puppet 2.6.6 and facter 1.6.0 on  RHEL 6.1 server.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to