On Fri, Sep 18, 2015 at 9:02 AM Trevor Vaughan <tvaug...@onyxpoint.com>
wrote:

> Hi Corey,
>
> It's part of the 'property' Object:
> https://github.com/puppetlabs/puppet/blob/master/lib/puppet/property.rb#L186
>

Related references:

http://www.rubydoc.info/gems/puppet/Puppet/Property (same thing, the rdoc
view)
https://docs.puppetlabs.com/guides/custom_types.html#customizing-behaviour

As that last link comments, often times the best existing references for
some of this stuff are existing types, used and referenced as examples.

The other resource I'm aware of is Dan Bode and Nan Liu's book "Puppet
Types and Providers" (late 2012). It's been awhile since it was published
but not a whole lot has changed in the relevant ruby API.
http://www.amazon.com/Puppet-Types-Providers-Dan-Bode/dp/1449339328

~Reid

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/CAHNFGkNviLELsD%3DpNPUK2Q%3Du9y_oQRit7QTjXM9Y0Y%2BXdvv34Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to