On Friday, May 4, 2012 2:03:59 PM UTC-7, Philip Brown wrote:
>
>
> Puppet::Type.type(:sysprop).provide(:solaris) do
>   desc "Provider for Solaris system properties"
>   defaultfor :operatingsystem => :solaris
>
>   def create
>     Puppet.debug "sysprop.create called"
>   end
>   def destroy
>     Puppet.debug "sysprop.destroy called"
>   end
>   def exists?
>     Puppet.debug "sysprop.exists? has not been written yet"
>     return false
>   end
> end
>
>
Sigh. sorry, forgot to also mention that manifest is sysprop { 
"system/sac":
        ensure => present,
        property => "stop/type",
        value => "method",
}

 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-dev/-/eH5z4jkYwK0J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to