puppetHandling NFS Mount


NFS is the most common way to share disk between computers in linux. It allows user on a client computer to access files over a network much like local storage is accessed. Here we see how to configure Puppet to manage mounting and serving NFS drives.


nameThe path to local directory in which the remote drive should be mounted.
deviceRemote server address and directory path on remote server, separated by :
atbootWhether this drive should be mounted while booting. Enabling makes drives available sooner, but may cause delayed boot in case of network or mounting problem.
passFsck order is to tell fsck what order to check the file systems, if set to "0" file system is ignored. Usually NFS drives need not be checked in clients, so "0" is a suitable option.