diff options
-rw-r--r-- | files/configs/CentOS/nagios.cfg | 3 | ||||
-rw-r--r-- | manifests/init.pp | 11 |
2 files changed, 0 insertions, 14 deletions
diff --git a/files/configs/CentOS/nagios.cfg b/files/configs/CentOS/nagios.cfg index ee86fd2..c3194c8 100644 --- a/files/configs/CentOS/nagios.cfg +++ b/files/configs/CentOS/nagios.cfg @@ -30,9 +30,6 @@ log_file=/var/log/nagios/nagios.log # This can be very useful if you want to keep command definitions # separate from host and contact definitions... -# legacy crap -cfg_dir=/etc/nagios/legacy - # all puppet native command paths cfg_file=/etc/nagios/nagios_command.cfg cfg_file=/etc/nagios/nagios_contact.cfg diff --git a/manifests/init.pp b/manifests/init.pp index 6388b4a..b0b7b53 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -91,17 +91,6 @@ class nagios::base { mode => 0644, owner => root, group => 0; } - # old way of commands to not break the current config - # TODO: integrate these commands into native nagios types - file{ "/etc/nagios/legacy/": - source => "puppet://$server/files/nagios/legacy", - ensure => directory, - recurse => true, - purge => true, - notify => Service[nagios], - mode => 0755, owner => root, group => 0; - } - nagios::command{ ssh_port: command_line => '$USER1$/check_ssh -p $ARG1$ $HOSTADDRESS$'; |