provisioners/puppet: sudo test for folders for umask
This commit is contained in:
parent
592a800f84
commit
e05cca7ed4
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue