add patch to reset Puppet config
This commit is contained in:
parent
512e7f95d1
commit
e87e7c63b5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user