On Sat, Oct 20, 2012 at 7:09 PM, Jakov Sosic <jso...@srce.hr> wrote:

> On 10/16/2012 08:49 PM, Jeff McCune wrote:
>
>  With the --debug flag, providers will print out the exact command
>> they're executing to modify the system.
>>
>
> What should a custom type/provider author put in provider code for --debug
> to print the command out, or is it automatic


It's automatic (but customizable) when the RAL synchronizes the "is" value
to the "should" value.

See:
https://github.com/puppetlabs/puppet/blob/master/lib/puppet/property.rb#L101-118

-Jeff

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