summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/base.pp7
-rw-r--r--manifests/debian.pp7
2 files changed, 7 insertions, 7 deletions
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,