provisioners/puppet: just quiet the NFS errors for Puppet [GH-5456]
This commit is contained in:
parent
d03b1f6930
commit
fec6ef11c8
|
@ -620,7 +620,7 @@ module VagrantPlugins
|
|||
path: options[:hostpath])
|
||||
end
|
||||
|
||||
if options[:type] == :nfs
|
||||
if options[:type] == :nfs && !options[:nfs__quiet]
|
||||
if options[:owner] || options[:group]
|
||||
# Owner/group don't work with NFS
|
||||
errors << I18n.t("vagrant.config.vm.shared_folder_nfs_owner_group",
|
||||
|
|
|
@ -32,6 +32,7 @@ module VagrantPlugins
|
|||
folder_opts[:type] = @config.synced_folder_type if @config.synced_folder_type
|
||||
folder_opts[:owner] = "root" if !@config.synced_folder_type
|
||||
folder_opts[:args] = @config.synced_folder_args if @config.synced_folder_args
|
||||
folder_opts[:nfs__quiet] = true
|
||||
|
||||
if @config.environment_path.is_a?(Array)
|
||||
# Share the environments directory with the guest
|
||||
|
|
Loading…
Reference in New Issue