On 2013-05-22 21:54, Matthaus Owens wrote: > Puppet 3.2.1 is a bugfix release for the 3.x series of Puppet.
Did something change in the way Puppet outputs messages? Until this morning we used the following to run Puppet from Cron on all our nodes: cron { 'puppet_agent': ensure => 'present', command => '/usr/bin/puppet agent -o --no-daemonize --logdest syslog', user => 'root', minute => [ $min1, $min2, $min3, $min4 ], } But as of 3.2.1 this produces output on every Puppet agent run and that output is mailed out, resulting in hundreds of messages which contain nothing of importance (see below). This had worked fine for almost two years now, with output only generated on errors and problems (such as DNS not available). We had to change the cron resource to this: cron { 'puppet_agent': ensure => 'present', command => '/usr/bin/puppet agent -o --no-daemonize --logdest syslog > /dev/null 2>&1', user => 'root', minute => [ $min1, $min2, $min3, $min4 ], } Is this behaviour change a bug or expected? Andreas Typical Puppet agent run output mailed by Cron as of Puppet 3.2.1: [0;32mInfo: Retrieving plugin[0m [0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/lvm_disk_usage.rb[0m [0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb[0m [0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb[0m [0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/corosync_mcastport.rb[0m [0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/libvirt_guests.rb[0m [0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb[0m [0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/has_libvirtd.rb[0m [0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/root_home.rb[0m [0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/postgres_default_version.rb[0m [0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/corosync_mcastaddr.rb[0m [0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/has_group_libvirtd.rb[0m [0;32mInfo: Loading facts in /var/lib/puppet/lib/facter/libvirt_used_memory.rb[0m [0;32mInfo: Caching catalog for devfw01.fw.rz01.riseops.at[0m [0;32mInfo: Applying configuration version '1369264386'[0m [mNotice: Finished catalog run in 17.63 seconds[0m
signature.asc
Description: OpenPGP digital signature