Title: Message Title
Charlie Sharpsteen commented on an issue
Puppet / Bug PUP-1967
parameter defaults of false and {} does not work
In a type I have:

{code}
newparam(:arguments) do
   desc "The arguments to send to the action"
  
   defaultto {}
end
{code}

If I do not set the property and check in my provider the value would be nil instead of {}. If instead of defaulting to {} I default to [] then the correct empty array gets to the provider.

Similarly defaulting to fa...

--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to