add patch to reset Puppet config

This commit is contained in:
Cezary Baginski 2015-06-06 23:30:49 +02:00
parent 512e7f95d1
commit e87e7c63b5

View File

@ -21,6 +21,12 @@ module Guard
begin
maybe_bundle_with_env do
# TODO: hack, untested, needed to avoid:
#
#"Error: Could not initialize global default settings:
# Attempting to initialize global default settings more than once!"
::Puppet.settings.send(:clear_everything_for_tests)
::Puppet::Util::CommandLine.new('puppet', command_line_params).execute
end
0