Ruby on rails Chef(ruby)-安装windows共享,斜杠是向后的

Ruby on rails Chef(ruby)-安装windows共享,斜杠是向后的,ruby-on-rails,ruby,chef-infra,chef-recipe,Ruby On Rails,Ruby,Chef Infra,Chef Recipe,在Chef中,我运行以下命令: mount '/mnt/dir' do fstype 'cifs' options 'credentials=/etc/cifs_cred,dir_mode=0777,file_mode=0777' device '\\\\winServer.com\\dir\\folder\\subfolder' action [:enable, :mount] end 我希望服务器安装为 //winServer.com/dir/ 但它(在CentOs

在Chef中,我运行以下命令:

mount '/mnt/dir' do
   fstype 'cifs'
   options 'credentials=/etc/cifs_cred,dir_mode=0777,file_mode=0777'
   device '\\\\winServer.com\\dir\\folder\\subfolder'
   action [:enable, :mount]
end
我希望服务器安装为 //winServer.com/dir/

但它(在CentOs中)被安装为:

Ruby不让我更改//s。帮助,专家们。

Jollof-你呢

 device '//winServer.com/dir/folder/subfolder'

乔洛夫-你呢

 device '//winServer.com/dir/folder/subfolder'
?