Move icinga master API users to api.conf
authorJan Dittberner <jandd@cacert.org>
Sun, 4 Aug 2019 09:42:06 +0000 (11:42 +0200)
committerJan Dittberner <jandd@cacert.org>
Sun, 4 Aug 2019 09:42:06 +0000 (11:42 +0200)
hieradata/nodes/monitor.yaml

index 0492643..17cf595 100644 (file)
@@ -31,7 +31,7 @@ profiles::icinga2_master::ido_database_password: >
     2/8qhSpCx+U=]
 profiles::icinga2_master::api_users:
   root:
-    target: /etc/icinga2/conf.d/api-users.conf
+    target: /etc/icinga2/features-available/api.conf
     password:  >
       ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEw
       DQYJKoZIhvcNAQEBBQAEggEAAXgaqzTk009MfssP5rTCvy5jC0j3Fq76LjSO
@@ -45,7 +45,7 @@ profiles::icinga2_master::api_users:
     permissions:
       - "*"
   client-pki-ticket:
-    target: /etc/icinga2/conf.d/api-users.conf
+    target: /etc/icinga2/features-available/api.conf
     password: >
       ENC[PKCS7,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEw
       DQYJKoZIhvcNAQEBBQAEggEAjrore6zK7GJXbP9FZ6ORUWvpt7FS2fXHiwB+