summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-02-28 14:28:53 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-02-28 14:28:53 +0100
commitb9f856162ffdccf1802f809e415d04a935a7b320 (patch)
treeda6e891d5af4274fcde02423fd8960b12ae798f9
parentFix puppet after master dependency. (diff)
downloadprofiles-b9f856162ffdccf1802f809e415d04a935a7b320.tar.gz
profiles-b9f856162ffdccf1802f809e415d04a935a7b320.tar.xz
puppetdb whitelist server.
-rw-r--r--manifests/puppetdb.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/puppetdb.pp b/manifests/puppetdb.pp
index 1bb51b9..a5054d4 100644
--- a/manifests/puppetdb.pp
+++ b/manifests/puppetdb.pp
@@ -4,8 +4,9 @@ class profiles::puppetdb {
}
class { 'puppetdb':
- listen_address => '::', # Just accept insecure connections
- disable_ssl => false,
+ listen_address => '::', # Just accept insecure connections
+ disable_ssl => false,
+ certificate_whitelist => [ $::servername, ],
}
# This is "requried", and is recommended to be included in this way