diff options
author | mh <mh@immerda.ch> | 2013-01-02 18:59:58 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2013-01-02 18:59:58 +0100 |
commit | 4d2d0a813a718ad412fbd05da8588b8e90d0b9a3 (patch) | |
tree | 84ae283843ecf1c6e4b89ce507f512efec354833 | |
parent | 1aa9016a39968e812baf1b176eeaf0f2542c89e3 (diff) |
this file is only needed on debian
-rw-r--r-- | manifests/base.pp | 7 | ||||
-rw-r--r-- | manifests/debian.pp | 7 |
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, |