On Sun, Apr 8, 2012 at 2:50 AM, Jonathon Anderson <anderbub...@gmail.com>wrote:

> So what is that class?  What sort of name should it have?  By its very
> nature, it is either node- or site-specific, right?  Thus far, I've used
> modules at `/etc/puppet/services` using an `s_` prefix, kind of like what's
> described at
> http://projects.puppetlabs.com/projects/1/wiki/Puppet_Best_Practice2, but
> I get the feeling that that is not actually what is intended.
>
> So what *is* intended?
>

The way I approach this is to manage a module named site and put the
resource declarations inside of a class within this module.

The approach is pretty well documented in the pe_accounts section [1] of
the PE manual.  The pe_accounts module exposes defined resource types so I
think the concepts apply to the scenario you've described.

[1] http://docs.puppetlabs.com/pe/2.5/accounts_user_type.html

Hope this helps,
-Jeff McCune

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to