Title: Message Title
Krystle Bennett created an issue
Puppet / PUP-2888
invalid parameter 'mode' when using nagios_host
Issue Type:
Bug
Affects Versions:
3.4.3
Assignee:
Unassigned
Created:
03/Jul/14 9:36 AM
Priority:
Normal
Reporter:
Krystle Bennett
Hello, I'm trying to export my nodes for nagios using puppet. my config is:
#exporting host class nagios_client::targets { @@nagios_host { $::fqdn: ensure => present, alias => $::hostname, address => $::ipaddress, use => 'linux-server', hostgroups => 'all-hosts', target => "/etc/nagios3/objects/hosts/${::hostname}.cfg", mode => '0640', } } #importing nagios services class nagios_server::import{
Nagios_host <<||>> { notify => Class['nagios_server::service'], require => File['hosts'], }
}
except when I run this, I get the following error:
Error: Invalid parameter mode at /var/lib/puppet/repository/modules/nagios_client/manifests/targets.pp:12 on node
I saw a bug fix for this, and I'm on a version of puppet where this should be pushed out. Are these not implemented on this version? or is this a reopened bug?