(bugfix) Use test_url in connection validator for puppetdb
This commit addresses an issue where the provider for puppetConnValidator was not using the test_url specified by the resource. This commit passes the param from the initializer to the utils class.
This commit is contained in:
parent
36148124b6
commit
61e1ec9634
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ Puppet::Type.type(:puppetdb_conn_validator).provide(:puppet_https) do
|
|||
#
|
||||
# @api private
|
||||
def validator
|
||||
@validator ||= Puppet::Util::PuppetdbValidator.new(resource[:puppetdb_server], resource[:puppetdb_port], resource[:use_ssl])
|
||||
@validator ||= Puppet::Util::PuppetdbValidator.new(resource[:puppetdb_server], resource[:puppetdb_port], resource[:use_ssl], resource[:test_url])
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue