Delete `shared_dir.rb`.
This commit is contained in:
parent
64066ab78f
commit
a882f52b3f
|
@ -5,6 +5,4 @@ include_recipe './install.rb'
|
|||
if node['nomad']['manager'] || node['nomad']['client']
|
||||
include_recipe './setup.rb'
|
||||
include_recipe './csi.rb'
|
||||
|
||||
include_recipe './shared_dir.rb'
|
||||
end
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
%w( /mnt/shared ).each do |d|
|
||||
directory d do
|
||||
owner 'root'
|
||||
group 'root'
|
||||
end
|
||||
end
|
||||
|
||||
# Add the fstab entry:
|
||||
file '/etc/fstab' do
|
||||
action :edit
|
||||
|
||||
block do |content|
|
||||
content << "//192.168.10.200/Shared/AppData /mnt/shared cifs username=admin,password=Holiday88,uid=root,gid=root,file_mode=0777,dir_mode=0777,vers=3.0,_netdev 0 0\n"
|
||||
end
|
||||
|
||||
not_if 'grep shared /etc/fstab'
|
||||
end
|
||||
|
||||
execute 'mount -a || true'
|
Loading…
Reference in New Issue