From 164845746b8cbf161918f1f729575f29980ac1d8 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Thu, 30 Oct 2025 14:46:44 +0100 Subject: [PATCH] add puppetdb-termini to all clients - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/292 --- manifests/main/install.pp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/manifests/main/install.pp b/manifests/main/install.pp index 3a15b99..dc850fb 100644 --- a/manifests/main/install.pp +++ b/manifests/main/install.pp @@ -6,8 +6,15 @@ class puppet_cd::main::install ( ) inherits puppet_cd::params { - package { $pt_agent_pkg: - ensure => $pt_pkg_ensure, + if $fqdn != $pt_pm_fqdn { + package { $pt_agent_pkg: + ensure => $pt_pkg_ensure, + } + if $pt_use_puppetdb == true { + package { $pt_puppetdb_pkg: + ensure => $pt_pkg_ensure, + } + } } if $fqdn == $pt_pm_fqdn {