On Tue, Sep 18, 2012 at 10:04 AM, Philip Brown <[email protected]> wrote:
> On Tue, Sep 18, 2012 at 9:48 AM, Andy Parker <[email protected]> wrote:
>> Hi Philip,
>>
>> Try using the --debug flag. You might also find --trace useful if you
>> get exceptions (it'll cause the backtrace to be printed).
>>
>
> Oh wow. lots of things support --debug! :)
>
> good to be reminded of that, thanks.
>
> I also note, that, if one does NOT want to be flooded with general
> debug, tossing in a
>
>   warning "printf-type message here"
>
> line, seems to get the job done too, if the goal is just temporary debugging.
>
> Still wondering how to force override of a package provider type for
> "puppet resource package ..." command line use, though.
>

I think (haven't tried) that you can do "puppet resource ....
provider=pkg_test" if you also rename the provider to pkg_test in the
pkg_test.rb file.

> --
> You received this message because you are subscribed to the Google Groups 
> "Puppet Developers" group.
> 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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
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