3
0
This commit is contained in:
Arne Teuke
2025-10-27 23:05:15 +01:00
parent b5d6d660e3
commit ce6f705881
3 changed files with 31 additions and 2 deletions

View File

@@ -30,5 +30,17 @@ class puppet_cd::main::files (
content => template($pt_puppet_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],
}
}
}
}