Thank you!
My situation was a bit more complicated since needed support for two
operating systems, the following implementation worked:
common.yaml
nfs_mounts:
device: 'nfs.server.com:/mount'
options:
'nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport'
The code I have been given for an NFS mount is like this. Note the module in
use on the first line….
types::files:
# derdanne/nfs takes care of mountpoint creation.
'’:
ensure: directory
mode: '0775'
debconfs:
'apparmor/homedirs':
ensure: present
type: string
value: