vendored/puppet/lib/puppet/test/test_helper.rb in bolt-0.23.0 vs vendored/puppet/lib/puppet/test/test_helper.rb in bolt-0.24.0
- old
+ new
@@ -142,11 +142,10 @@
Puppet::Parser::Functions.reset
Puppet::Application.clear!
Puppet::Util::Profiler.clear
Puppet::SSL::Host.reset
- Puppet::SSL::Host.ca_location = :none
Puppet.clear_deprecation_warnings
end
# Call this method once per test, after execution of each individual test.
@@ -221,12 +220,9 @@
def self.initialize_settings_before_each()
Puppet.settings.preferred_run_mode = "user"
# Initialize "app defaults" settings to a good set of test values
Puppet.settings.initialize_app_defaults(app_defaults_for_tests)
-
- # Avoid opening ports to the outside world
- Puppet.settings[:bindaddress] = "127.0.0.1"
# We don't want to depend upon the reported domain name of the
# machine running the tests, nor upon the DNS setup of that
# domain.
Puppet.settings[:use_srv_records] = false