summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk/manifests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-05-03 22:59:21 +0200
committervarac <varacanero@zeromail.org>2016-05-03 22:59:21 +0200
commit074c86322442ba73fe5ae07c9c07b1158c4d460d (patch)
tree949604f7ea373c302965152699460fbf13180db1 /puppet/modules/site_check_mk/manifests
parente9ebc834e7500dceefd0530ba6d0262e87855374 (diff)
[bug] Run check_mk-refresh-inventory-daily after check_mk-refresh
Otherwise, the nagios config will get regenerated and nagios gets reloaded before all checks are registered by a check_mk inventory. - Related: #6873
Diffstat (limited to 'puppet/modules/site_check_mk/manifests')
-rw-r--r--puppet/modules/site_check_mk/manifests/server.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/puppet/modules/site_check_mk/manifests/server.pp b/puppet/modules/site_check_mk/manifests/server.pp
index 090f0bae..7ff9eb4a 100644
--- a/puppet/modules/site_check_mk/manifests/server.pp
+++ b/puppet/modules/site_check_mk/manifests/server.pp
@@ -43,8 +43,9 @@ class site_check_mk::server {
}
Exec['check_mk-refresh'] ->
- Exec['check_mk-reload'] ->
- Service['nagios']
+ Exec['check_mk-refresh-inventory-daily'] ->
+ Exec['check_mk-reload'] ->
+ Service['nagios']
file {
'/etc/check_mk/conf.d/use_ssh.mk':