Issue #6553 has been updated by Andrew Parker.

Target version deleted (2.7.x)


----------------------------------------
Bug #6553: handling of array values in exec provider is inconsistent.
https://projects.puppetlabs.com/issues/6553#change-80345

Author: Daniel Pittman
Status: Accepted
Priority: Normal
Assignee: 
Category: exec
Target version: 
Affected Puppet version: 2.6.5
Keywords: wtf
Branch: 


In the `exec` provider we handle arrays as arguments inconsistently:

    exec { "foo": timeout => [1] }  # works
    exec { "foo": tries => [1] } # boom!

We should make a call on which of these two is desired, then implement it.  If 
necessary a deprecation period might be needed to ensure that we don't surprise 
anyone using this (unintuitive) features.

Oh, and:

    exec { "foo": timeout => [1,2,3] }  # guess which one we use?



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to