summaryrefslogtreecommitdiff
path: root/manifests/puppetdb.pp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--manifests/puppetdb.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/puppetdb.pp b/manifests/puppetdb.pp
index 2eaf01a..d55e682 100644
--- a/manifests/puppetdb.pp
+++ b/manifests/puppetdb.pp
@@ -7,4 +7,10 @@ class profiles::puppetdb {
listen_address => '::',
disable_ssl => false,
}
+
+ if defined('puppetserver') and ! defined(Puppet::Config::Master['storeconfigs_backend']) {
+ puppet::config::master { 'storeconfigs_backend':
+ value => 'puppetdb',
+ }
+ }
}