From 63ae53caa34614e4aaac4c350a87c5cae91668f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sat, 15 Jan 2022 10:05:48 +0100 Subject: puppetdb server compatibility. --- manifests/puppetdb.pp | 6 ++++++ 1 file changed, 6 insertions(+) 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, } } -- cgit v1.2.3