On 12/16/2010 11:16 PM, Lucas Ewalt wrote: > Hoping someone can shed some light on this. > > In the Puppet resource type doc at > http://docs.puppetlabs.com/references/stable/type.html#exec > it says this about exec: > > "It is worth noting that exec is special, in that it is not currently > considered an error to have multiple exec instances with the same > name. This was done purely because it had to be this way in order to > get certain functionality, but it complicates things. In particular, > you will not be able to use exec instances that share their commands > with other instances as a dependency, since Puppet has no way of > knowing which instance you mean." > > However, trying this in Puppet 2.6.2 results in a duplicate definition > error, similar to the other resource types. > > I see in the 0.24.2 release notes at > http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes#Types+and+Providers: > > "Exec resources must now have unique names, although the commands can > still be duplicated. This is easily accomplished by just specifying a > unique name with whatever (unique or otherwise) command you need." > > It sounds like the 'specialness' of Exec has long been removed from > Puppet. Has anyone else ran into this? Are the docs indeed outdated? >
There's an obvious discrepancy. You should open a documentation bug. Cheers, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.