lib/librarian/puppet/source/forge.rb in librarian-puppet-0.9.9 vs lib/librarian/puppet/source/forge.rb in librarian-puppet-0.9.10

- old
+ new

@@ -93,10 +93,10 @@ path.mkpath target = vendored?(name, version) ? vendored_path(name, version) : name - command = "puppet module install --target-dir '#{path}' --modulepath '#{path}' --ignore-dependencies '#{target}'" + command = "puppet module install --target-dir '#{path}' --module_repository '#{source}' --modulepath '#{path}' --ignore-dependencies '#{target}'" output = `#{command}` # Check for bad exit code unless $? == 0 # Rollback the directory if the puppet module had an error