No, that works a treat. Thanks a lot
(to all who answered).

On Sat, Jan 22, 2011 at 1:00 PM, donavan <dona...@desinc.net> wrote:
> 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.
>
>

-- 
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