Go next if local path doesn't exist for Chef
This avoids issues with nil remote_paths
This commit is contained in:
parent
8458166c6a
commit
82f3a3ec29
|
@ -74,6 +74,7 @@ module VagrantPlugins
|
|||
remote_path = "#{@config.provisioning_path}/chef-solo-#{get_and_update_counter(:cookbooks_path)}"
|
||||
else
|
||||
@logger.warn("Chef path doesn't exist, not sharing: #{local_path}")
|
||||
next
|
||||
end
|
||||
else
|
||||
# Path already exists on the virtual machine. Expand it
|
||||
|
|
Loading…
Reference in New Issue