On Fri, Aug 6, 2010 at 8:16 AM, Marc Zampetti <[email protected]> wrote:
>  All,
>
> Can anyone point me to some best practices for how one should name/organize
> classes and modules. I know that I should use modules for everything, and
> that I can references classes in one module from another class in another
> module. And I know about the class inheritance stuff.
>
> What I'm a little confused about is I've seen references to ::install and
> ::remove and stuff like that. In fact, I'm not sure if the "::" is anything
> more then naming convention, or if it means something to Puppet. Also, is
> the "modules" directory a flat directory, or can I have sub dirs? If so, how
> do I reference things in the sub dirs, or is it all just "magic".
>
> Any help is appreciated.

Marc,

I think the '::' is a naming convention, but I'm not sure since I
haven't seen it documented anywhere. Also, you can create modules in
subdirs and qualify them with '::'. For example
facility::palo_alto::appserver would be in
/etc/puppet/modules/facility/palo_alto/appserver.pp. Haven't seen that
documented either, but it works.

Doug.

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