On Jan 21, 11:13 am, Dick Davies <rasput...@hellooperator.net> wrote:
> ensurable do
>    defaultto 'present'
> end

I've always specified the methods:
    ensurable do
        newvalue(:present) do
            provider.create
        end
        newvalue(:absent) do
            provider.destroy
        end
        defaultto :present
    end

Which I admit may (habit|superstition).

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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