- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with nfsserver
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
This module manages the NFS server on OpenBSD.
This module configures the NFS server, including the nfsd, mountd, lockd, and statd services. It configures the /etc/exports file, as well as allows you to manage the exported directories.
- manages nfsd, mountd, statd, lockd services
- manages contents of /etc/exports file
- manages exported directories
The module depends on bodgit-portmap to configure portmap.
In the very simplest case, you just include the following:
include nfsserver
Configuration example for Hiera:
nfsserver::exports:
export_node1:
directory:
'/export/node1':
owner: 'root'
group: '0'
mode: '0755'
exportparams: '-ro -mapall=nobody'
clients: '-network=10.0.0 -mask=255.255.255.0'
export_node2:
directory:
'/export/node2'
exportparams: '-ro -mapall=nobody'
clients: '-network=10.0.0 -mask=255.255.255.0'
This version works for OpenBSD NFS server.
Report issues or PRs at the GitHub repository here: https://github.com/buzzdeee/buzzdeee-nfsserver