nfs cookbook
July 2, 2026 ยท View on GitHub
Description
Provides custom resources for managing NFS clients, servers, NFSv4 idmap, and exports.
Maintainers
This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you'd like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.
Requirements
See AGENTS.md for package availability and platform constraints.
This cookbook depends on the line cookbook.
Resources
Migration
This release removes the legacy recipe and node attribute APIs. See migration.md for replacement examples.
Usage
Client
nfs_client 'default'
NFSv4 client idmap
nfs_client 'default'
nfs_idmap 'default' do
domain 'example.test'
end
Server
nfs_server 'default'
NFSv4 server
nfs_server 'default' do
manage_idmap true
nfs_v4 'yes'
end
Export
nfs_export '/exports' do
network '10.0.0.0/8'
writeable false
sync true
options ['no_root_squash']
end
Contributors
This project exists thanks to all the people who contribute.
Backers
Thank you to all our backers!
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
         