summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/pnp4nagios.pp10
1 files changed, 6 insertions, 4 deletions
diff --git a/manifests/pnp4nagios.pp b/manifests/pnp4nagios.pp
index 5ade74f..bdeb9b4 100644
--- a/manifests/pnp4nagios.pp
+++ b/manifests/pnp4nagios.pp
@@ -1,8 +1,9 @@
+# configure pnp4nagios
class nagios::pnp4nagios {
include nagios::defaults::pnp4nagios
- package { 'pnp4nagios':
- ensure => installed }
+ package { [ 'pnp4nagios', 'pnp4nagios-web-config-nagios3']:
+ ensure => installed }
# unfortunatly we can't use the nagios_host and nagios_service
@@ -21,8 +22,9 @@ class nagios::pnp4nagios {
file { 'apache.conf':
path => '/etc/pnp4nagios/apache.conf',
- source => [ 'puppet:///modules/site_nagios/pnp4nagios/apache.conf',
- 'puppet:///modules/nagios/pnp4nagios/apache.conf' ],
+ source => [
+ 'puppet:///modules/site_nagios/pnp4nagios/apache.conf',
+ 'puppet:///modules/nagios/pnp4nagios/apache.conf' ],
mode => '0644',
owner => root,
group => root,