summaryrefslogtreecommitdiff
path: root/hieradata
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2019-07-20 20:08:21 +0200
committerJan Dittberner <jandd@cacert.org>2019-07-20 20:08:21 +0200
commite9c6dd7e0aa1a5646a69e8796675556cad987d25 (patch)
tree2854c284b46e8fcb9af7ef580c54d9edd5ba26f5 /hieradata
parente55e91b55cd7129b036dead06d6ef5ec1d7c8ed9 (diff)
downloadcacert-puppet-e9c6dd7e0aa1a5646a69e8796675556cad987d25.tar.gz
cacert-puppet-e9c6dd7e0aa1a5646a69e8796675556cad987d25.tar.xz
cacert-puppet-e9c6dd7e0aa1a5646a69e8796675556cad987d25.zip
Move management of Icinga2 CA certificate
- move parameter to icinga2_common - move hiera data from monitor node to common
Diffstat (limited to 'hieradata')
-rw-r--r--hieradata/common.yaml29
-rw-r--r--hieradata/nodes/monitor.yaml29
2 files changed, 29 insertions, 29 deletions
diff --git a/hieradata/common.yaml b/hieradata/common.yaml
index b020b14..41fd187 100644
--- a/hieradata/common.yaml
+++ b/hieradata/common.yaml
@@ -143,3 +143,32 @@ profiles::icinga2_agent::pki_api_password: >
T5GP0WQAzU0=]
profiles::icinga2_agent::master_host: monitor.cacert.org
profiles::icinga2_agent::master_ip: 10.0.0.18
+profiles::icinga2_common::ca_certificate: |
+ -----BEGIN CERTIFICATE-----
+ MIIEyjCCArKgAwIBAgIVAMGxGJbZJq/vXMuXAnAC8QvFtvhMMA0GCSqGSIb3DQEB
+ CwUAMBQxEjAQBgNVBAMMCUljaW5nYSBDQTAeFw0xOTA3MTkxODIwNDVaFw0zNDA3
+ MTUxODIwNDVaMBQxEjAQBgNVBAMMCUljaW5nYSBDQTCCAiIwDQYJKoZIhvcNAQEB
+ BQADggIPADCCAgoCggIBAMh+p0jach/6ICsP/o01nku28g0jFB/HSp5n/WZjzykW
+ MvgvYc/1lEaiuIeB93AobGB3EACNw2/Xfh1deRGP8UsIOIjeeUibfk0i4SOmFBRb
+ 0ZmwUeNVygY7rm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XvImabhBfioqThVMAEEjrtkAQSOFg281vaIgUPbwqcVmbOHv/2Cow0xw
+ gYrp+hB0hhf5rpYi1SMLTKIQUJT6CKnIgN9KHMwcz6Zq4WcshXQxZZrazXomJJ9k
+ WKBpvys1Mfn0Y+phqmCXW7D9Yh1T32pnyOTm8kUonBhIoDEwYN5v175ySw8jjiUD
+ Dlkc/kuv3szLVWx63FvOPc6ra9rmmdwmDaVTd9fGlo/NrquCQOGu59hiACPept+I
+ y+bP1kZ0Z+5qrmlX0zrcLspzXOyY0VX/YZ3unzyp
+ -----END CERTIFICATE-----
diff --git a/hieradata/nodes/monitor.yaml b/hieradata/nodes/monitor.yaml
index 7f95c82..4ac6e59 100644
--- a/hieradata/nodes/monitor.yaml
+++ b/hieradata/nodes/monitor.yaml
@@ -155,35 +155,6 @@ profiles::icinga2_master::ca_key: >
QHfjLm7Vy2L/2vsAqJHmaYwLJbnCO4KbCGzoLFBBE2gz17wYIPIgDbVxjNRu
W1HABIXMJ8IEQJnN9mDYZWjUsutf8FRFsfAPMoAGX5M5tLVrTUQbXUjtpJ6v
RA3cuu7epXa+RGV/NdgBV1k=]
-profiles::icinga2_master::ca_certificate: |
- -----BEGIN CERTIFICATE-----
- MIIEyjCCArKgAwIBAgIVAMGxGJbZJq/vXMuXAnAC8QvFtvhMMA0GCSqGSIb3DQEB
- CwUAMBQxEjAQBgNVBAMMCUljaW5nYSBDQTAeFw0xOTA3MTkxODIwNDVaFw0zNDA3
- MTUxODIwNDVaMBQxEjAQBgNVBAMMCUljaW5nYSBDQTCCAiIwDQYJKoZIhvcNAQEB
- BQADggIPADCCAgoCggIBAMh+p0jach/6ICsP/o01nku28g0jFB/HSp5n/WZjzykW
- MvgvYc/1lEaiuIeB93AobGB3EACNw2/Xfh1deRGP8UsIOIjeeUibfk0i4SOmFBRb
- 0ZmwUeNVygY7rmhO+fwTPi6bb2+AA50RkDP7jTpwaQFxppziTXUqW8mj0LBSLtNL
- z8dC2YS/JLKSoNyHupQcL+pH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