diff options
author | varac <varacanero@zeromail.org> | 2012-09-17 18:52:22 +0200 |
---|---|---|
committer | Leap devs <sysdev@leap.se> | 2012-09-19 16:06:47 +0000 |
commit | cfd48e24151d232a76461acea18795cb8725ca00 (patch) | |
tree | 3caf24e67aae00b3d26eeb744a73dffaa7a7cddf /manifests | |
parent | 2924e23b6ed826bf22877978c6b9a430a6407a4b (diff) |
package pnp4nagios available now, fix permissions for config files
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/pnp4nagios.pp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/manifests/pnp4nagios.pp b/manifests/pnp4nagios.pp index 3971f36..9026d3e 100644 --- a/manifests/pnp4nagios.pp +++ b/manifests/pnp4nagios.pp @@ -1,7 +1,7 @@ class nagios::pnp4nagios { include nagios::defaults::pnp4nagios - package { [php5, php5-gd, rrdcollect, rrdtool, librrdp-perl, librrds-perl ]: + package { pnp4nagios: ensure => installed } @@ -12,14 +12,15 @@ class nagios::pnp4nagios { file { 'pnp4nagios-templates.cfg': path => "$nagios::nagios_cfgdir/conf.d/pnp4nagios-templates.cfg", source => [ "puppet:///modules/site-nagios/pnp4nagios/pnp4nagios-templates.cfg", - "puppet:///modules/nagios/pnp4nagios/pnp4nagios-templates.cfg" ] + "puppet:///modules/nagios/pnp4nagios/pnp4nagios-templates.cfg" ], + mode => 0644, owner => root, group => root; } file { 'apache.conf': path => "/etc/pnp4nagios/apache.conf", source => [ "puppet:///modules/site-nagios/pnp4nagios/apache.conf", - "puppet:///modules/nagios/pnp4nagios/apache.conf" - ], + "puppet:///modules/nagios/pnp4nagios/apache.conf" ], + mode => 0644, owner => root, group => root; notify => Service['apache'], } |