On Thu, Apr 21, 2011 at 12:40 PM, Jeff Falgout <jtfalg...@gmail.com> wrote: > > > On Thu, Apr 21, 2011 at 1:10 PM, Nan Liu <n...@puppetlabs.com> wrote: >> >> > >> > I suspect I'm doing something incorrect or misunderstanding something. >> >> Puppet classes are singletons, even if you include a class multiple >> times it only realize the resources defined in the class once. > > Ahhh - ok, makes sense. > >> >> All declarations above will result in a single instance of class a and >> only one notify resource. >> > > With that in mind, Is there an efficient way to call exec multiple times > while just changing the arguments to the exec command?
Defined resource type is what you are looking for: http://docs.puppetlabs.com/guides/language_guide.html Thanks, Nan -- 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.