summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-01-15 10:05:48 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-01-15 10:05:48 +0100
commit63ae53caa34614e4aaac4c350a87c5cae91668f3 (patch)
treee5168363b87bdef68fa4341990dd830964163af6
parentChange puppetdb::master::config setup. (diff)
downloadprofiles-63ae53caa34614e4aaac4c350a87c5cae91668f3.tar.gz
profiles-63ae53caa34614e4aaac4c350a87c5cae91668f3.tar.xz
puppetdb server compatibility.
-rw-r--r--manifests/puppetdb.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/puppetdb.pp b/manifests/puppetdb.pp
index 1ee62c5..7e53cd4 100644
--- a/manifests/puppetdb.pp
+++ b/manifests/puppetdb.pp
@@ -11,5 +11,11 @@ class profiles::puppetdb {
# This is "requried", and is recommended to be included in this way
# (presumably to later allow setting parameters)
class { 'puppetdb::master::config':
+ # Puppetdb sets up the puppetserver resource, to be able to
+ # trigger a refresh, and contains a defined(Service[$puppet_service_name])
+ # check beforehand, but for some reason it just doesn't work. So
+ # we just disable it expliticly, and assume that
+ # profiles::puppetserver is also pulled in.
+ create_puppet_service_resource => false,
}
}