[Puppet Users] Re: Debugging which provider and which command it is using

2014-10-28 Thread jcbollinger
On Monday, October 27, 2014 1:28:25 PM UTC-5, huhm4n wrote: > > When I'm installing some package using puppet, let's say > > > package { "xxx": > ensure => present, > } > > How do I include if it is running yum install, or apt-get when I'm pushing > this module on os level? >

[Puppet Users] Re: Debugging which provider and which command it is using

2014-10-27 Thread Sam Coffland
I'm not sure exactly what your trying to achieve by getting the provider but I give it a shot at it anyway. In order to get debugging info from puppet you would use a notice. http://www.puppetcookbook.com/posts/simple-debug-messages.html So if you wanted to have your EL systems tell you they i