In regard to: Re: [Puppet Users] anchor pattern and class containment...:
On Wed, Oct 3, 2012 at 2:57 PM, Tim Mooney <tim.moo...@ndsu.edu> wrote:
All-
We're currently using puppet 2.7.14 on master and all clients.
I thought I understood why 'anchor' is part of stdlib, but after
re-reading both
http://projects.puppetlabs.**com/projects/puppet/wiki/**
Anchor_Pattern<http://projects.puppetlabs.com/projects/puppet/wiki/Anchor_Pattern>
and
http://projects.puppetlabs.**com/issues/8040<http://projects.puppetlabs.com/issues/8040>
yesterday in preparation for trying to explain it to one of our team
that's coming up to speed on puppet, now I'm not so certain I really
understand.
yep, its probably the most confusing part of Puppet :(
:-) I think I would vote for create_resources() in that competition.
Specifically, is it necessary to use the anchor pattern if your module
only defines resources and doesn't require or include any other classes?
you only have to use the anchor pattern when you need to depend on a class
that has classes defined in it. The example below does not need the anchor
pattern.
Thanks Dan! The info from you & John & Ryan has been very helpful.
Tim
--
Tim Mooney tim.moo...@ndsu.edu
Enterprise Computing & Infrastructure 701-231-1076 (Voice)
Room 242-J6, IACC Building 701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
--
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.