Issue #6553 has been updated by Nigel Kersten.

Did we ever make any promises around the behavior with arrays for these items? 
In docs or anywhere?

If not, I'm perfectly happy making the undefined behavior explicitly fail 
without the requirement for a whole release for deprecation.

I don't believe this was ever defined behavior, and I don't believe using 
arrays for these parameters is at all widespread.
----------------------------------------
Bug #6553: handling of array values in exec provider is inconsistent.
https://projects.puppetlabs.com/issues/6553

Author: Daniel Pittman
Status: Accepted
Priority: Normal
Assignee: 
Category: exec
Target version: 2.7.x
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 [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-bugs?hl=en.

Reply via email to