provisioners/chef: work with restrictive umask [GH-2121]
This commit is contained in:
parent
95aba27e59
commit
592a800f84
|
@ -6,6 +6,7 @@ BUG FIXES:
|
||||||
Vagrantfile can cause errors.
|
Vagrantfile can cause errors.
|
||||||
- core: `VAGRANT_VAGRANTFILE` env var only applies to the project
|
- core: `VAGRANT_VAGRANTFILE` env var only applies to the project
|
||||||
Vagrantfile name. [GH-2130]
|
Vagrantfile name. [GH-2130]
|
||||||
|
- provisioners/chef: Work even with restrictive umask on user. [GH-2121]
|
||||||
- provisioners/puppet: No more "shared folders cannot be found" error.
|
- provisioners/puppet: No more "shared folders cannot be found" error.
|
||||||
[GH-2134]
|
[GH-2134]
|
||||||
|
|
||||||
|
|
|
@ -173,7 +173,7 @@ module VagrantPlugins
|
||||||
def verify_shared_folders(folders)
|
def verify_shared_folders(folders)
|
||||||
folders.each do |folder|
|
folders.each do |folder|
|
||||||
@logger.debug("Checking for shared folder: #{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 ChefError, :missing_shared_folders
|
raise ChefError, :missing_shared_folders
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue