Jonathan Gazeley
2014-Apr-07 12:23 UTC
[Puppet Users] Puppet always recreates Nagios_hosts
I've been using puppet with nagios for ages without any problems. Recently I looked into the puppet logs on my nagios server and it seems on every puppet run, puppet throws an error and recreates all the nagios_host objects (see below), even if none of them have been changed. I haven't changed my config so is there a new bug? Thanks, Jonathan [jg4461@monitor ~]$ sudo puppet agent -t Notice: Ignoring --listen on onetime run Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb Info: Loading facts in /var/lib/puppet/lib/facter/python_version.rb Info: Loading facts in /var/lib/puppet/lib/facter/srvadminpkgcount.rb Info: Loading facts in /var/lib/puppet/lib/facter/gitolite_basedir.rb Info: Loading facts in /var/lib/puppet/lib/facter/lib_path.rb Info: Loading facts in /var/lib/puppet/lib/facter/virtualenv_version.rb Info: Loading facts in /var/lib/puppet/lib/facter/ads_domain.rb Info: Loading facts in /var/lib/puppet/lib/facter/rubyversion_major.rb Info: Loading facts in /var/lib/puppet/lib/facter/cron_dayofmonth.rb Info: Loading facts in /var/lib/puppet/lib/facter/partitions.rb Info: Loading facts in /var/lib/puppet/lib/facter/winbind_version.rb Info: Loading facts in /var/lib/puppet/lib/facter/vmparent.rb Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb Info: Loading facts in /var/lib/puppet/lib/facter/mountpoints.rb Info: Loading facts in /var/lib/puppet/lib/facter/manufacturer.rb Info: Loading facts in /var/lib/puppet/lib/facter/cron_dayofweek.rb Info: Loading facts in /var/lib/puppet/lib/facter/oracle_version.rb Info: Loading facts in /var/lib/puppet/lib/facter/cron_hour.rb Info: Loading facts in /var/lib/puppet/lib/facter/os_maj_version.rb Info: Loading facts in /var/lib/puppet/lib/facter/gateway.rb Info: Loading facts in /var/lib/puppet/lib/facter/iptables_persistent_version.rb Info: Loading facts in /var/lib/puppet/lib/facter/warranty.rb Info: Loading facts in /var/lib/puppet/lib/facter/cron_minute.rb Info: Loading facts in /var/lib/puppet/lib/facter/pip_version.rb Info: Loading facts in /var/lib/puppet/lib/facter/iptables_version.rb Info: Loading facts in /var/lib/puppet/lib/facter/ip6tables_version.rb Info: Loading facts in /var/lib/puppet/lib/facter/isopenmanagesupported.rb Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb Info: Loading facts in /var/lib/puppet/lib/facter/environment.rb Info: Caching catalog for monitor.resnet.bris.ac.uk Error: /Stage[main]/Nagios::Server/Resources[nagios_host]: Failed to generate additional resources using 'generate': undefined method `file=' for #<Puppet::Error:0x7f0910359ab0> Info: Applying configuration version '1396867605' Error: Could not prefetch nagios_host provider 'naginator': undefined method `file=' for #<Puppet::Error:0x7f0912f92ff0> Notice: /Stage[main]/Nagios::Server/Nagios_host[radius01.nomadic-core.bris.ac.uk]/ensure: created ... -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/534298B7.7090007%40bristol.ac.uk. For more options, visit https://groups.google.com/d/optout.