Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 483 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 483 Bytes

nfs

This module installs NFS client/server and manages some static NFS mounts.

Examples

For a Server

$exports = [ '/usr *.local.domain(ro) @trusted(rw)', '/home/joe pc001(rw,all_squash,anonuid=150,anongid=100)', ]

class { '::nfs': service_ensure => 'running', exports => $exports }

For a Client

class { '::nfs': } ::nfs::mount { '/home/joe': mount => '/home/joe', device = 'server1:/home/joe', }