Merge pull request #2677 from purpleidea/fix_puppet_apply
provisioner/puppet: do not prepend default path because it can override modules.
This commit is contained in:
commit
9ac4ec85dd
|
@ -98,9 +98,6 @@ module VagrantPlugins
|
|||
options = [config.options].flatten
|
||||
module_paths = @module_paths.map { |_, to| to }
|
||||
if !@module_paths.empty?
|
||||
# Prepend the default module path
|
||||
module_paths.unshift("/etc/puppet/modules")
|
||||
|
||||
# Add the command line switch to add the module path
|
||||
options << "--modulepath '#{module_paths.join(':')}'"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue