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?

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