The AutoFS cookbook is a resource cookbook.
This cookbook configures clients that use autofs See: http://linux.die.net/man/8/automount
This cookbook does not concern itself with managing an NFS server.
- Chef Infra Client 12.21 or higher
See metadata.rb
Add entries directly to auto.master
automaster_entry '/smb' do
map '/etc/auto.smb'
options '--timeout 600'
end
Add entries to custom autofs map file
map_entry 'homes' do
location '://smb-server:directory'
fstype 'smb'
options 'rw'
map '/etc/auto.smb'
end
Nfs resource with default entries for map & auto.master
nfs '/mnt/nfs' do
server 'nfsserver'
export '/example/remote_path/'
options 'sync'
end
- Author: Dan Webb ([email protected])
- Author: Luke Bradbury ([email protected])
- Author: Richard Lock ([email protected])
- Author: James E. Flemer ([email protected])
This project exists thanks to all the people who contribute.
Thank you to all our backers!
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.