I am using mount resource to update fstab configurations from
tmpfs /dev/shm tmpfs defaults 0 0
to tmpfs /dev/shm tmpfs 'nodev,nosuid,noexec' 0 0
I have tried following options
mount 'update mount point configurations' do
device 'tmpfs'
fstype 'tmpfs'
options ['nodev','nosuid','noexec']
mount_point '/dev/shm'
dump 0
pass 0
end
mount 'update mount point configurations' do
device 'tmpfs'
fstype 'tmpfs'
options 'nodev,nosuid,noexec'
mount_point '/dev/shm'
dump 0
pass 0
end
But it is saying everything is up to date and no changes got reflected. Can someone help me out on this.