manage your nfs shares (client and server)
Puppet Ruby
Permalink
Failed to load latest commit information.
manifests Refactor client/debian and add Xenial support Aug 25, 2016
spec
.fixtures.yml
.gitignore
.puppet-lint.rc
.sync.yml
.travis.yml
CHANGELOG.md
Gemfile
LICENSE
README.md
Rakefile
metadata.json

README.md

NFS Puppet module

Puppet Forge Version Puppet Forge Downloads Build Status Puppet Forge Endorsement Gemnasium By Camptocamp

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 <<| tag == "nfs.mydomain.ltd" |>>
}