Revert "Merge pull request #2677 from purpleidea/fix_puppet_apply"
This reverts commit9ac4ec85dd
, reversing changes made to8dbad22d72
.
This commit is contained in:
parent
6c5179602c
commit
32c45aa70b
|
@ -98,6 +98,9 @@ module VagrantPlugins
|
||||||
options = [config.options].flatten
|
options = [config.options].flatten
|
||||||
module_paths = @module_paths.map { |_, to| to }
|
module_paths = @module_paths.map { |_, to| to }
|
||||||
if !@module_paths.empty?
|
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
|
# Add the command line switch to add the module path
|
||||||
options << "--modulepath '#{module_paths.join(':')}'"
|
options << "--modulepath '#{module_paths.join(':')}'"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue