On Aug 2, 9:51 am, Stephen Bunn <[email protected]> wrote:
> apologies if this shows up twice, I sent it via email and it appears
> that it never appeared, so I'm posting this again through the google-
> groups interface.

Strange, they both appeared in my inbox at the same time.

> 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?

http://docs.puppetlabs.com/learning/modules1.html#manifests-namespacing-and-autoloading

Do you have your module directory structure laid out correctly so
Puppet's auto-loading feature can find it? Assuming the require line
above, you must have the following on your file system:

modules/firewall/rules/server/allow_ssh.pp

You can force your way around that using the 'import' statement, or
putting everything in firewall/init.pp but everyone pretty much agrees
this is a nightmare to manage.

HTH,

-Luke

-- 
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