3
0

update erb

This commit is contained in:
Arne Teuke
2025-02-26 18:36:22 +01:00
parent c56b601a7c
commit 73e09ef44c
2 changed files with 8 additions and 4 deletions

View File

@@ -24,6 +24,7 @@
# @param [string] pt_db_user_comment the user comment for puppetdb user
# @param [string] pt_db_user_home the user home for the puppetdb user
# @param [string] pt_db_user_shell the shell for the puppetdb user
# @param [boolean] pt_use_puppetdb whether to use puppetdb on host
###############################################################################
class puppet_cd::params (
@@ -38,6 +39,7 @@ class puppet_cd::params (
String $pt_server_pkg = 'puppetserver',
Array $pt_db_pkg = ['puppetdb','puppetdb-termini'],
# puppetdb
Boolean $pt_use_puppetdb = false,
String $pt_no_ssl_port = '8080',
String $pt_ssl_port = '8081',
Boolean $pt_use_ssl_only = true,

View File

@@ -2,9 +2,11 @@
########## puppet.conf generated by puppet ###########
###############################################################################
#<% if @fqdn == @pt_pm_fqdn -%>
<% if @fqdn == @pt_pm_fqdn -%>
#<% end end -%>
#<% if @fqdn != @pt_pm_fqdn -%>
<% if @pt_use_puppetdb == true %>
#<% end end -%>
<% end end -%>
<% if @fqdn != @pt_pm_fqdn -%>
<% end -%>