I can mount a Linux NFS share on Windows without issues,
net use S: \rhel-fileserver\export
But the following recipe failed,
mount ‘T:’ do
action :mount
device '\\rhel-fileserver\export’
end
Error message:
Recipe: mycookbook::default
- mount[T:] action mount[2016-03-24T14:11:19-07:00] INFO: Processing mount[T:] action mount (mycookbook::default line
================================================================================
Error executing action `mount` on resource 'mount[T:]'
================================================================================
ArgumentError
-------------
The network path was not found.
---- Begin Win32 API output ----
System Error Code: 53
System Error Message: The network path was not found.
---- End Win32 API output ----
Resource Declaration:
---------------------
# In c:/chef/cache/cookbooks/mycookbook/recipes/default.rb
16: mount 'T:' do
17: action :mount
18: # provider Chef::Provider::Mount::Windows
19: device '\\\\rhel-fileserver\\export'
20: end
21:
Compiled Resource:
------------------
# Declared in c:/chef/cache/cookbooks/mycookbook/recipes/default.rb:16:in `from_file'
mount("T:") do
action [:mount]
supports {:remount=>false}
retries 0
retry_delay 2
default_guard_interpreter :default
mount_point "T:"
device "\\\\rhel-fileserver\\export"
device_type :device
fsck_device "-"
fstype "auto"
options ["defaults"]
dump 0
pass 2
declared_type :mount
cookbook_name "mycookbook"
recipe_name "default"
end
Thanks in advance for any tips to fix this.