Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
manage your nfs shares (client and server)
Puppet
branch: master

This branch is 26 commits ahead, 117 commits behind camptocamp:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
manifests
templates
.gitignore
README.rst

README.rst

NFS Puppet module

This module is tested for a CentOS 6.2 client/server.

This module is inspired by puppet-nfs.

Dependencies

Add this module into your puppet modules.

Doc

find uid of the user with

$ id user

Examples

Client node

node "my-nfs-client" {

  class {
    'nfs::client':
      server         => '192.168.1.1',
      share          => '/home/server/folder',
      mountpoint     => '/home/client/folder',
      client_options => 'nfsvers=3,rsize=32768,wsize=32768,hard,intr'
  }
}

Server node

node "my-nfs-server" {
  class {
    'nfs::server':
      shares_ip     => ['192.168.1.2', '192.168.1.3'],
      share_folder  => "/home/server/folder",
      share_options => 'rw,all_squash,anonuid=501,anongid=501,async'
  }
}
Something went wrong with that request. Please try again.