3
0
Arne Teuke
2025-10-27 23:39:45 +01:00
parent 95c7fedd72
commit 9b30203701
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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 %>