projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4a680e
)
nagios: install some packages and define service
author
Peter Palfrader
<peter@palfrader.org>
Fri, 1 Jun 2018 09:03:41 +0000
(11:03 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Fri, 1 Jun 2018 09:03:41 +0000
(11:03 +0200)
modules/nagios/manifests/server.pp
patch
|
blob
|
history
diff --git
a/modules/nagios/manifests/server.pp
b/modules/nagios/manifests/server.pp
index
22b681f
..
b753441
100644
(file)
--- a/
modules/nagios/manifests/server.pp
+++ b/
modules/nagios/manifests/server.pp
@@
-12,6
+12,19
@@
class nagios::server {
content => template('nagios/nagios.debian.org.conf.erb'),
}
+ ensure_packages( [
+ 'icinga',
+ 'make',
+ 'monitoring-plugins',
+ 'nagios-nrpe-plugin',
+ ], { ensure => 'installed' })
+
+ service { 'icinga':
+ ensure => running,
+ require => Package['icinga'],
+ }
+
+
concat::fragment { 'dsa-puppet-stuff--nagios--restart-stale-icinga':
target => '/etc/cron.d/dsa-puppet-stuff',
order => '010',