Index: modules/nagios/manifests/server.pp |
=================================================================== |
--- a/modules/nagios/manifests/server.pp |
+++ b/modules/nagios/manifests/server.pp |
@@ -57,11 +57,13 @@ |
service {'apache2': |
ensure => stopped, |
enable => false, |
+ require => Package['nagios3'], |
before => Service['nagios3'] |
} |
file {'/etc/nagios3/htpasswd.users': |
- source => $htpasswd_source |
+ source => $htpasswd_source, |
+ require => Package['nagios3'] |
} |
file {'/etc/nagios3/cgi.cfg': |