camptocamp / puppet-nfs

manage your nfs shares (client and server)

This URL has Read+Write access

name age message
file README.rst Fri May 29 04:52:33 -0700 2009 Changed how to define a share; added full "serv... [Cedric Jeanneret]
directory manifests/ Thu Sep 03 01:23:02 -0700 2009 nfs: ensure portmap & friends are up and runnin... [mfournier]
README.rst

NFS Puppet module

This module is provided to you by Camptocamp.

Dependencies

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

Examples

Client node

node "my-nfs-client" {
  include nfs::base
  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" |>>

System Message: WARNING/2 (<string>, line 40); backlink

Inline substitution_reference start-string without end-string.

System Message: WARNING/2 (<string>, line 41)

Definition list ends without a blank line; unexpected unindent.

}