update erb
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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 -%>
|
||||
Reference in New Issue
Block a user