summaryrefslogtreecommitdiff
path: root/hieradata
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2019-07-21 16:29:15 +0200
committerJan Dittberner <jandd@cacert.org>2019-07-21 16:29:15 +0200
commit93ce031466058317b5bfdefc20412150449d8b3c (patch)
tree7a808a7f2990e74c532f28cfca31afe535f51720 /hieradata
parenta6f98d12beff0c2204cbb838c68020fcd8f0e950 (diff)
downloadcacert-puppet-93ce031466058317b5bfdefc20412150449d8b3c.tar.gz
cacert-puppet-93ce031466058317b5bfdefc20412150449d8b3c.tar.xz
cacert-puppet-93ce031466058317b5bfdefc20412150449d8b3c.zip
Modify icinga2 agent setup
- use ticket generated by icinga2 pki ticket on master - remove commented code from icinga2_master manifest - use icinga2 module for icinga2_agent
Diffstat (limited to 'hieradata')
-rw-r--r--hieradata/common.yaml58
-rw-r--r--hieradata/nodes/puppet.yaml13
2 files changed, 41 insertions, 30 deletions
diff --git a/hieradata/common.yaml b/hieradata/common.yaml
index 6961942..9ea31c9 100644
--- a/hieradata/common.yaml
+++ b/hieradata/common.yaml
@@ -141,34 +141,34 @@ profiles::icinga2_agent::pki_api_password: >
RmIpGTBcBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAAs0An2QOnxac51GTU
gCG3gDAX0FOzW/oWi8c1PDIFb+0B4cTQRi9gP2fzugKu0bp0FBB7akZV6Zx0
T5GP0WQAzU0=]
-profiles::icinga2_common::master_host: monitor.infra.cacert.org
-profiles::icinga2_common::master_certificate: |
+profiles::icinga2_agent::master_host: monitor.infra.cacert.org
+profiles::icinga2_agent::master_certificate: |
-----BEGIN CERTIFICATE-----
- MIIE+jCCAuKgAwIBAgIUKbBk4rIgCPf77noCKofD3WKBR6EwDQYJKoZIhvcNAQEL
- BQAwFDESMBAGA1UEAwwJSWNpbmdhIENBMB4XDTE5MDcyMTA5NTYzMVoXDTM0MDcx
- NzA5NTYzMVowIzEhMB8GA1UEAwwYbW9uaXRvci5pbmZyYS5jYWNlcnQub3JnMI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qDSTapx9PL4aJ
+ X74w5WZ7FlNdQHRFvvjNI849fVb2MoLxeIwd7W5flv6gpLlMX49PMp62ZtfupbRJ
+ 5AtYgSC6FbF3WwkRKTz2/KZi5j0oCHqxl31HY1Hx
-----END CERTIFICATE-----
diff --git a/hieradata/nodes/puppet.yaml b/hieradata/nodes/puppet.yaml
index 6cb160e..502574b 100644
--- a/hieradata/nodes/puppet.yaml
+++ b/hieradata/nodes/puppet.yaml
@@ -15,4 +15,15 @@ profiles::puppet_server::git_pull_ssh_passphrase: >
72sBgDCNDoJmkzzjSfLIvN/Q2D0p2XBtKWrc7NkmVzZrzVZ6cLJCBornuJ72
fOJnmPqpFng=]
profiles::puppet_server::git_pull_tokens:
- - ENC[PKCS7,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAWLS320bvmv2NSEtEFn5dFD5goJ2g3T2JDT8EylyZ5WDMdlW3w8kx4cQSju1TvjrUIRimkYMKIi9Ej2cXUEMZZoWXpdTbxBreBY5NNlzz0UWmzuwgx6qVy3Czlvhbqq2vb97W1/e30sKcaXe4Mly9UWy+pslH3KHEs4vwipZ+MaIlY76HOPVUmQBtNwaaIiY2KtBTfVGXGUp5VXYGQZsUL2K6DucT+xP3duYjK5iCPfk+w/iYz1bv3m2uT5GvsahZhCBGJNu81ZZ9MY4+WZfKwqfEN2fQz1X6mqBvpaXqE3w573SZo6K7ofhiK8q6+4QlNJ6qlLrsuetlgu8+aHYhcDBcBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDoG8fxzhnn0Xp4Bk+Yg4RsgDDTTKABVrszTg2gZ1bZPm0ysvpoG6tSE0FVmexQjR814RSl81f7coXap/pnWwAhpPo=] \ No newline at end of file
+ - ENC[PKCS7,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAWLS320bvmv2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