sholaj / puppet-nfs

manage your nfs shares (client and server)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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::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" |>>
}

Documentation

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

About

manage your nfs shares (client and server)

License:Apache License 2.0


Languages

Language:Puppet 58.0%Language:Ruby 42.0%