summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2019-07-28 15:24:14 +0200
committerJan Dittberner <jandd@cacert.org>2019-07-28 15:24:14 +0200
commitb349acd4ff84c9420ae01807500ac306b77c42e1 (patch)
tree1cf792a87077b90c77cdb3e672c21f0c82355d6e
parent96e2432d0906fad1f4b822d08e72d81dbe111f34 (diff)
downloadcacert-puppet-b349acd4ff84c9420ae01807500ac306b77c42e1.tar.gz
cacert-puppet-b349acd4ff84c9420ae01807500ac306b77c42e1.tar.xz
cacert-puppet-b349acd4ff84c9420ae01807500ac306b77c42e1.zip
Setup icinga2 agent on web
-rw-r--r--hieradata/nodes/web.yaml11
-rw-r--r--sitemodules/roles/manifests/web.pp3
2 files changed, 13 insertions, 1 deletions
diff --git a/hieradata/nodes/web.yaml b/hieradata/nodes/web.yaml
index ec9b25c..e0f33fa 100644
--- a/hieradata/nodes/web.yaml
+++ b/hieradata/nodes/web.yaml
@@ -4,3 +4,14 @@ classes:
profiles::base::admins:
- jandd
- law
+profiles::icinga2_agent::pki_ticket: >
+ ENC[PKCS7,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEw
+ DQYJKoZIhvcNAQEBBQAEggEAMqkR/DWeLFAWqlr3jgDHss1geIoCQ3uyvLYN
+ 8ZIGs2H9GBOt5hLtauxpG5U8oWwg/G4blCEFHAHt7XUrGHW57hLc18uA5pz0
+ rxRoKvrHVWBevsjvGK4lvmI3lfhY4EShqFT80O9u0Pn2XxyM0vmlDhpHuNb7
+ dqCp2d9hHnvM+/5rqIlYqMPfWQbmO1bYnE+x1pbHiZg+qzeT0klYJUbL+fUz
+ ZiDuJi0yDbqsX1pAB4NdQVD864IjvENg7TNxBY2Cqoa3XjnayBANOT5HdXKw
+ yjf8+UvfpbXEc5QohyBMQDfzxZ8MgAbjRWd4+AmIIy+tbrdqQMMyhZ9ILAlM
+ HJyrfzBcBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDB9xfyP2Mjapd/vzRW
+ ek3UgDBo03zKwbxJ6uooqQ/68zHDKAj0gh2Kpe8tGdbnKm1dOHIpru/5zjob
+ 2gNuQB6szY0=]
diff --git a/sitemodules/roles/manifests/web.pp b/sitemodules/roles/manifests/web.pp
index c94e8d8..f2697a6 100644
--- a/sitemodules/roles/manifests/web.pp
+++ b/sitemodules/roles/manifests/web.pp
@@ -18,10 +18,11 @@
# Copyright
# ---------
#
-# Copyright 2018 Jan Dittberner
+# Copyright 2018-2019 Jan Dittberner
#
class roles::web {
include profiles::base
include profiles::rsyslog
include profiles::nrpe_agent
+ include profiles::icinga2_agent
}