I have resource for which I set this to debug, like so: file { "/tmp/foo": content => inline_template("..."), loglevel => debug, } I was expecting the following command to not log anything about it, but it does, it logs the diff of the file.. Why? # puppet agent --onetime --ignorecache --no-daemonize --no-usecacheonfailure --server puppet-test I thought the resource would log at "debug" level, and thought since I did not add --verbose or --debug or --trace... it would not log Can I run puppet with some options so resources with loglevel set to debug do not get logged, or does puppet agent always log everything to stdout? Thanks a lot. Mohamed. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Tue, Mar 8, 2011 at 4:46 PM, Mohamed Lrhazi <lrhazi@gmail.com> wrote:> I have resource for which I set this to debug, like so: > > file { "/tmp/foo": > content => inline_template("..."), > loglevel => debug, > } > > I was expecting the following command to not log anything about it, > but it does, it logs the diff of the file.. Why?If you don''t want to see the diff output when the file changes, turn off the show_diff option. Thanks, Nan -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.