nfs

Module to install NFS
Chris Cowley

Chris Cowley

chriscowley

8,808 downloads

8,808 latest version

2.2 quality score

Version information

  • 0.1.0 (latest)
released Jul 3rd 2019

Start using this module

Tags: nfs, storage

Documentation

chriscowley/nfs — version 0.1.0 Jul 3rd 2019

NFS

Currently only support RHEL6 and derivatives (I test on CentOS).

For now it only does an NFS server and the config options are relatively limited. This is kind of on purpose; there are plenty of all-singing-all-dancing NFS modules on the Forge, but I wanted to cover 90% of bases (ok, myself) simply. As such I have tried to make the default relatively sane and simple. This does not mean they are the best, but it works easily.

The simplest possiblity is:

class { 'nfs::server': }

This will create a single folder called /srv/share and export to whichever network eth0 is attached to.

You can create as many shares as you want, and control which network they all go to (currently only a single network is support).

class { 'nfs::server':
  $exports => [
    '/srv/photos',
    '/srv/videos',
    ],
  $networkallowed = '10.0.0.0',
  $netmaskallowed = '255.0.0.0',
}

License

GPL3

Contact

chris AT chriscowley DOT me DOT uk

Support

Please log tickets on Github