nfs

Simple NFS client and server configuration

gnúbila France

gnubilafrance

8,611 downloads

6,508 latest version

4.6 quality score

Version information

  • 0.1.2 (latest)
  • 0.0.9
  • 0.0.8
  • 0.0.7
  • 0.0.6
  • 0.0.5
  • 0.0.4
released Jan 28th 2016
This version is compatible with:
  • RedHat
    ,
    CentOS
    ,
    Debian

Start using this module

Tags: nfs

Documentation

gnubilafrance/nfs — version 0.1.2 Jan 28th 2016

puppet-nfs

Puppet Forge Build Status

Puppet module for managing NFS.

Ports are static and hardcoded, firewall configuration too. PR welcome :)

Based on old version of camptocamp/puppet-nfs module.

Dependencies

You have to configure your puppetmaster so that exported ressources will work.

Examples

Client node

  node "my-nfs-client" {
    include nfs::client
    nfs::mount {"my mounted one":
      share      => '/srv/nfs/myshare',
      mountpoint => '/mnt/nfs/myshare',
      ensure     => present,
      server     => "nfs.mydomain.ltd",
    }

    nfs::mount {"my unwanted one":
      share      => '/srv/nfs/myshare',
      mountpoint => '/mnt/nfs/myshare',
      ensure     => absent,
      server     => "nfs.mydomain.ltd",
    }
  }

Server node

  node "my-nfs-server" {
    include nfs::server
    nfs::export { 'NFS export':
      share   => '/mnt/nfs/share',
      options => 'rw,no_root_squash',
      guest   => 'xxx.xxx.xxx.*',
    }
  }

Documentation

http://reductivelabs.com/trac/puppet/wiki/ExportedResources