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).
On Tue, Sep 18, 2012 at 9:00 AM, Philip Brown <[email protected]> wrote: > hi folks, > I'm trying some tweaks on a package provider. > I'd LIKE to debug it simply with > > puppet resource package xyz > > Trouble is, I'm getting no debug output. > I've tried using > Puppet.debug "blah blah" > > nothing. > > I've tried adding --verbose. Doesnt help either. > Is there some other method I can use in the code to output stuff, when > called as "puppet resource ..."? > > And a semi-related question: > > If I copy an existing package provider, lets say from "pkg.rb" to > "pkg_test.rb", how can I force use of pkg_test as the provider of package > resources, using the above one-syntax of > > puppet resource .... > > ? > > > -- > 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/-/N1x2k6aPmEQJ. > 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.
