summaryrefslogtreecommitdiff
path: root/manifests/debian.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-01-02 18:59:58 +0100
committermh <mh@immerda.ch>2013-01-02 18:59:58 +0100
commit4d2d0a813a718ad412fbd05da8588b8e90d0b9a3 (patch)
tree84ae283843ecf1c6e4b89ce507f512efec354833 /manifests/debian.pp
parent1aa9016a39968e812baf1b176eeaf0f2542c89e3 (diff)
this file is only needed on debian
Diffstat (limited to 'manifests/debian.pp')
-rw-r--r--manifests/debian.pp7
1 files changed, 7 insertions, 0 deletions
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,