Merge pull request #169 from ajroetker/bugfix_use_test_url_param_in_conn_validator

(bugfix) Use test_url in connection validator for puppetdb
This commit is contained in:
Ken Barber 2015-03-30 18:49:40 +01:00
commit dcb94d9476

View file

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