projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more bacula mail, but to bacula-reports@d.o
[mirror/dsa-puppet.git]
/
modules
/
nagios
/
manifests
/
server.pp
diff --git
a/modules/nagios/manifests/server.pp
b/modules/nagios/manifests/server.pp
index
e91f7f2
..
1bbd576
100644
(file)
--- a/
modules/nagios/manifests/server.pp
+++ b/
modules/nagios/manifests/server.pp
@@
-9,8
+9,16
@@
class nagios::server {
ensure => installed
}
ensure => installed
}
+ file { '/etc/init.d/nagios3':
+ source => 'puppet:///modules/nagios/nagios3.init',
+ mode => '0755',
+ require => Package['nagios3'],
+ before => Service['nagios3'],
+ }
+
service { 'nagios3':
service { 'nagios3':
- ensure => running,
+ ensure => running,
+ require => Package['nagios3'],
}
file { '/etc/nagios-plugins/config':
}
file { '/etc/nagios-plugins/config':