From 4d2d0a813a718ad412fbd05da8588b8e90d0b9a3 Mon Sep 17 00:00:00 2001 From: mh Date: Wed, 2 Jan 2013 18:59:58 +0100 Subject: this file is only needed on debian --- manifests/base.pp | 7 ------- manifests/debian.pp | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'manifests') diff --git a/manifests/base.pp b/manifests/base.pp index c4ba260..0f8b777 100644 --- a/manifests/base.pp +++ b/manifests/base.pp @@ -26,13 +26,6 @@ class nagios::base { mode => 0644, owner => root, group => root; } - file { 'nagios_commands_cfg': - path => "${nagios::defaults::vars::int_cfgdir}/commands.cfg", - ensure => present, - notify => Service['nagios'], - mode => 0644, owner => root, group => root; - } - file { 'nagios_cgi_cfg': path => "${nagios::defaults::vars::int_cfgdir}/cgi.cfg", source => [ "puppet:///modules/site_nagios/configs/${::fqdn}/cgi.cfg", diff --git a/manifests/debian.pp b/manifests/debian.pp index bb9bb38..0f451e3 100644 --- a/manifests/debian.pp +++ b/manifests/debian.pp @@ -14,6 +14,13 @@ class nagios::debian inherits nagios::base { File['nagios_htpasswd', 'nagios_cgi_cfg'] { group => 'www-data' } + file { 'nagios_commands_cfg': + path => "${nagios::defaults::vars::int_cfgdir}/commands.cfg", + ensure => present, + notify => Service['nagios'], + mode => 0644, owner => root, group => root; + } + file { "${nagios::defaults::vars::int_cfgdir}/stylesheets": ensure => directory, purge => false, -- cgit v1.2.3