You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Puppet Users
I have created a custom type and provider. I wanted to go back and
add in a little more functionality so I wanted to give it a new
parameter. So where I declare the type I added
newparam(:recurse) do
newvalues(:true, :false)
defaultto :false
end
No matter what I set the param to in my pp file accessing this param
using @resource[:recurse] it is always nil. I have tried not doing
any value validation and it is still nil. I have tried not putting a
default value and it is still nil.
Is there anything fundamentally wrong with what I am doing that it
should not work?