diff --git a/lib/bolt/module_installer/installer.rb b/lib/bolt/module_installer/installer.rb index 9b8b1acea9..043db49ed6 100644 --- a/lib/bolt/module_installer/installer.rb +++ b/lib/bolt/module_installer/installer.rb @@ -30,7 +30,7 @@ def install(path, moduledir) settings = R10K::Settings.global_settings.evaluate(@config) R10K::Initializers::GlobalInitializer.new(settings).call - install_action = R10K::Action::Puppetfile::Install.new(r10k_opts, nil) + install_action = R10K::Action::Puppetfile::Install.new(r10k_opts, nil, {}) # Override the r10k logger with a proxy to our own logger R10K::Logging.instance_variable_set(:@outputter, Bolt::R10KLogProxy.new) diff --git a/spec/bolt/cli_spec.rb b/spec/bolt/cli_spec.rb index 696fdb24b6..92bd6dd3d9 100644 --- a/spec/bolt/cli_spec.rb +++ b/spec/bolt/cli_spec.rb @@ -2416,7 +2416,7 @@ def stub_config(file_content = {}) expect(R10K::Action::Puppetfile::Install).to receive(:new) .with({ root: File.dirname(puppetfile), puppetfile: puppetfile.to_s, - moduledir: project.managed_moduledir.to_s }, nil) + moduledir: project.managed_moduledir.to_s }, nil, {}) allow(action_stub).to receive(:call).and_return(true)