diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c5e2ed00..f9642bdcc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ BUG FIXES: - provisioners/chef: Work even with restrictive umask on user. [GH-2121] - provisioners/puppet: No more "shared folders cannot be found" error. [GH-2134] + - provisioners/puppet: Work with restrictive umask on user by testing + for folders with sudo. [GH-2121] ## 1.3.0 (September 5, 2013) diff --git a/plugins/provisioners/puppet/provisioner/puppet.rb b/plugins/provisioners/puppet/provisioner/puppet.rb index 54bd25722..546c99644 100644 --- a/plugins/provisioners/puppet/provisioner/puppet.rb +++ b/plugins/provisioners/puppet/provisioner/puppet.rb @@ -135,7 +135,7 @@ module VagrantPlugins def verify_shared_folders(folders) folders.each do |folder| @logger.debug("Checking for shared folder: #{folder}") - if !@machine.communicate.test("test -d #{folder}") + if !@machine.communicate.test("test -d #{folder}", sudo: true) raise PuppetError, :missing_shared_folders end end