lib/vagrant-windows/monkey_patches/puppet.rb in vagrant-windows-1.0.1 vs lib/vagrant-windows/monkey_patches/puppet.rb in vagrant-windows-1.0.3
- old
+ new
@@ -1,6 +1,6 @@
-require "#{VagrantWindows::vagrant_root}/plugins/provisioners/puppet/provisioner/puppet"
+require "#{Vagrant::source_root}/plugins/provisioners/puppet/provisioner/puppet"
module VagrantPlugins
module Puppet
module Provisioner
class Puppet < Vagrant.plugin("2", :provisioner)
@@ -83,10 +83,10 @@
# Share the module paths
count = 0
@module_paths.each do |from, to|
# Sorry for the cryptic key here, but VirtualBox has a strange limit on
# maximum size for it and its something small (around 10)
- root_config.vm.synced_folder(from, to)
+ root_config.vm.synced_folder(from, to, :id => "v-modules-#{count}")
count += 1
end
end
def is_windows