summaryrefslogtreecommitdiff
path: root/sitemodules
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2019-07-21 13:45:51 +0200
committerJan Dittberner <jandd@cacert.org>2019-07-21 13:45:51 +0200
commit7acdbe410bc6ab956272c701459a120e04e306c2 (patch)
tree0e7374216c673ae79955256fbf70b05b5c039ac4 /sitemodules
parentd062c58cc4463298b55cce26287fbcdceba169f7 (diff)
downloadcacert-puppet-7acdbe410bc6ab956272c701459a120e04e306c2.tar.gz
cacert-puppet-7acdbe410bc6ab956272c701459a120e04e306c2.tar.xz
cacert-puppet-7acdbe410bc6ab956272c701459a120e04e306c2.zip
Replace direct notify with virtual resource
Diffstat (limited to 'sitemodules')
-rw-r--r--sitemodules/profiles/manifests/icinga2_agent.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sitemodules/profiles/manifests/icinga2_agent.pp b/sitemodules/profiles/manifests/icinga2_agent.pp
index 58a7a36..fbb2dc7 100644
--- a/sitemodules/profiles/manifests/icinga2_agent.pp
+++ b/sitemodules/profiles/manifests/icinga2_agent.pp
@@ -53,6 +53,6 @@ class profiles::icinga2_agent (
File["/var/lib/icinga2/certs/${::profiles::icinga2_common::master_host}.crt"],
Package['icinga2'],
],
- notify => Service['icinga2'],
}
+ Exec['/bin/sh /var/lib/icinga2/setup_agent.sh'] ~> Service<| name == 'icinga2' |>
}