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?

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

Reply via email to