Forge Home

nfs

Module to install NFS

9,786 downloads

9,786 latest version

2.2 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.0 (latest)
released Jan 27th 2014

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'chriscowley-nfs', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add chriscowley-nfs
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install chriscowley-nfs --version 0.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: storage, nfs

Documentation

chriscowley/nfs — version 0.1.0 Jan 27th 2014

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