diff --git a/manifests/params.pp b/manifests/params.pp index a586c5c..fca0331 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -6,7 +6,7 @@ # @param [Boolean] pt_use_puppetdb whether to use puppetdb # @param [String] pt_pm_fqdn the fqdn for the puppetmaster and master # 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_agent_pkg the packages for agents 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, 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, # installation diff --git a/templates/puppetdb/puppetdb.conf.erb b/templates/puppetdb/puppetdb.conf.erb index b028ccb..f1d34f4 100644 --- a/templates/puppetdb/puppetdb.conf.erb +++ b/templates/puppetdb/puppetdb.conf.erb @@ -4,5 +4,5 @@ ########## puppetdb.conf managed by puppet agent ########## ############################################################################### [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 %> \ No newline at end of file