summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2019-07-29 11:53:30 +0200
committerJan Dittberner <jandd@cacert.org>2019-07-29 11:53:30 +0200
commitf5b07bf80ec8a2a81a6e33355297f12a82ce8b6d (patch)
treebbe7619cf6f39822c0ae2a3ad962efb007f1a626
parent6895cfca98777114d8dde3d2380f3be9cc648453 (diff)
downloadcacert-puppet-f5b07bf80ec8a2a81a6e33355297f12a82ce8b6d.tar.gz
cacert-puppet-f5b07bf80ec8a2a81a6e33355297f12a82ce8b6d.tar.xz
cacert-puppet-f5b07bf80ec8a2a81a6e33355297f12a82ce8b6d.zip
Enable icinga2 agent on webstatic
-rw-r--r--hieradata/nodes/webstatic.yaml11
-rw-r--r--sitemodules/roles/manifests/webstatic.pp3
2 files changed, 13 insertions, 1 deletions
diff --git a/hieradata/nodes/webstatic.yaml b/hieradata/nodes/webstatic.yaml
index 484f12e..4102b5d 100644
--- a/hieradata/nodes/webstatic.yaml
+++ b/hieradata/nodes/webstatic.yaml
@@ -4,3 +4,14 @@ classes:
profiles::base::admins:
- jandd
- law
+profiles::icinga2_agent::pki_ticket: >
+ ENC[PKCS7,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEw
+ DQYJKoZIhvcNAQEBBQAEggEApecW/rPl4fMSAHNJSzDl5RX8y0JJSVqPj+S6
+ g7vxVMMnAOFR+Ex7BvRCNZ5/HISEuijPxPZlvDpaKYA3V8Z0/aHq8KKzOy56
+ wA9JSyIXzHv1hQmwLB2R5J2SZnKiAza9g0tJ9nM3q3YwfkofSUrYzPKHUZfm
+ LzjRCVFYDttlP2M9LedAb3+UE2UAkN0tZ2s/LplxnhBpXH89pqcPBzTmAQqe
+ bXR2kskXDku/f41+nY8Yv3vEyLGd/uiQR6oer/cPIj7RUI26PTdd+3LlTb0f
+ W8sqbf8IAo2EpneRL0Pg1kYYd1IV/0I9K8K+93xTsqR52yQdtgo6sUxsWczB
+ zWIAoTBcBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCz2/HN15HQ/xCGQExX
+ Ozd9gDCOqJLm9jtlSoCpwDwzowwiCgRj+k1s444lp1RkvgWKCrfO3QkOF3aR
+ MY7nsz39ve8=]
diff --git a/sitemodules/roles/manifests/webstatic.pp b/sitemodules/roles/manifests/webstatic.pp
index b15b04c..40cc7bf 100644
--- a/sitemodules/roles/manifests/webstatic.pp
+++ b/sitemodules/roles/manifests/webstatic.pp
@@ -18,10 +18,11 @@
# Copyright
# ---------
#
-# Copyright 2018 Jan Dittberner
+# Copyright 2018-2019 Jan Dittberner
#
class roles::webstatic {
include profiles::base
include profiles::rsyslog
include profiles::nrpe_agent
+ include profiles::icinga2_agent
}