From b82bab912863b9af7d3840d24710ec7aeb0df9db Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Tue, 28 Oct 2025 00:43:39 +0100 Subject: [PATCH] fix template - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/284 --- manifests/main/files.pp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/manifests/main/files.pp b/manifests/main/files.pp index 097b20c..b763eaa 100644 --- a/manifests/main/files.pp +++ b/manifests/main/files.pp @@ -31,16 +31,16 @@ class puppet_cd::main::files ( notify => Service[$pt_agent_service,$pt_server_service], } -# if $pt_use_puppetdb == true { -# file { $pt_puppetdb_conf_file: -# ensure => file, -# path => $pt_puppetdb_conf_file, -# owner => 'root', -# group => 'root', -# mode => '0644', -# content => template($pt_puppetdb_conf_erb), -# notify => Service[$pt_agent_service,$pt_server_service], -# } -# } + if $pt_use_puppetdb == true { + file { $pt_puppetdb_conf_file: + ensure => file, + path => $pt_puppetdb_conf_file, + owner => 'root', + group => 'root', + mode => '0644', + content => template($pt_puppetdb_conf_erb), + notify => Service[$pt_agent_service,$pt_server_service], + } + } } }