Revert "Merge pull request #2677 from purpleidea/fix_puppet_apply"

This reverts commit 9ac4ec85dd, reversing
changes made to 8dbad22d72.
This commit is contained in:
Mitchell Hashimoto 2014-02-24 08:07:57 -08:00
parent 6c5179602c
commit 32c45aa70b
1 changed files with 3 additions and 0 deletions

View File

@ -98,6 +98,9 @@ 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