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:

Info: Retrieving plugin
Info: Loading facts in
/var/lib/puppet/lib/facter/lvm_disk_usage.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in
/var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in
/var/lib/puppet/lib/facter/corosync_mcastport.rb
Info: Loading facts in
/var/lib/puppet/lib/facter/libvirt_guests.rb
Info: Loading facts in
/var/lib/puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/has_libvirtd.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in
/var/lib/puppet/lib/facter/postgres_default_version.rb
Info: Loading facts in
/var/lib/puppet/lib/facter/corosync_mcastaddr.rb
Info: Loading facts in
/var/lib/puppet/lib/facter/has_group_libvirtd.rb
Info: Loading facts in
/var/lib/puppet/lib/facter/libvirt_used_memory.rb
Info: Caching catalog for devfw01.fw.rz01.riseops.at
Info: Applying configuration version '1369264386'
Notice: Finished catalog run in 17.63 seconds

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to