rename variable - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/284
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
# @param [Boolean] pt_use_puppetdb whether to use puppetdb
|
# @param [Boolean] pt_use_puppetdb whether to use puppetdb
|
||||||
# @param [String] pt_pm_fqdn the fqdn for the puppetmaster and master
|
# @param [String] pt_pm_fqdn the fqdn for the puppetmaster and master
|
||||||
# settings are applied. any other fqdn # will be considered a puppet agent.
|
# settings are applied. any other fqdn # will be considered a puppet agent.
|
||||||
# @param [String] pt_db_fqdn the fqdn for the puppetdb node.
|
# @param [String] pt_puppetdb_fqdn the fqdn for the puppetdb node.
|
||||||
# @param [String] pt_pkg_ensure valid: "present", "latest", "v1.2.3"
|
# @param [String] pt_pkg_ensure valid: "present", "latest", "v1.2.3"
|
||||||
# @param [String] pt_agent_pkg the packages for agents to install
|
# @param [String] pt_agent_pkg the packages for agents to install
|
||||||
# @param [String] pt_server_pkg the server packages to install
|
# @param [String] pt_server_pkg the server packages to install
|
||||||
@@ -58,7 +58,7 @@ class puppet_cd::params (
|
|||||||
|
|
||||||
Boolean $pt_manage_fw = true,
|
Boolean $pt_manage_fw = true,
|
||||||
String $pt_pm_fqdn = 'puppetmaster.example.net',
|
String $pt_pm_fqdn = 'puppetmaster.example.net',
|
||||||
String $pt_db_fqdn = 'puppetdb.example.net',
|
String $pt_puppetdb_fqdn = 'puppetdb.example.net',
|
||||||
Boolean $pt_use_puppetdb = false,
|
Boolean $pt_use_puppetdb = false,
|
||||||
|
|
||||||
# installation
|
# installation
|
||||||
|
|||||||
@@ -4,5 +4,5 @@
|
|||||||
########## puppetdb.conf managed by puppet agent ##########
|
########## puppetdb.conf managed by puppet agent ##########
|
||||||
###############################################################################
|
###############################################################################
|
||||||
[main]
|
[main]
|
||||||
server_urls = https://<%= @pt_db_fqdn%>:<%= @pt_ssl_port %>
|
server_urls = https://<%= @pt_puppetdb_fqdn %>:<%= @pt_ssl_port %>
|
||||||
soft_write_failure = <%= @pt_soft_write_failure %>
|
soft_write_failure = <%= @pt_soft_write_failure %>
|
||||||
Reference in New Issue
Block a user