diff --git a/cookbooks/nomad/default.rb b/cookbooks/nomad/default.rb index df2a768..6da52cd 100644 --- a/cookbooks/nomad/default.rb +++ b/cookbooks/nomad/default.rb @@ -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 diff --git a/cookbooks/nomad/shared_dir.rb b/cookbooks/nomad/shared_dir.rb deleted file mode 100644 index c40e4d1..0000000 --- a/cookbooks/nomad/shared_dir.rb +++ /dev/null @@ -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'