Puppet Class: nfs::client
- Defined in:
- manifests/client.pp
Overview
Class: nfs::client
Installs the NFS client software, allowing the mount resource type to mount NFS exports.
Parameters
- ensure
-
Corresponds to the ensure parameter of the Package resource type.
Variables
This module requires no variables.
Examples
class { 'nfs::client':
ensure => installed,
}
Authors
Joseph Beard <joseph@josephbeard.net>
Copyright
Copyright 2014 Joseph Beard
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'manifests/client.pp', line 29
class nfs::client (
$ensure = installed,
) {
require stdlib
anchor { 'nfs::client::begin': }
case $::osfamily {
RedHat : {
class { 'nfs::client::rhel':
ensure => $ensure,
}
}
Debian : {
class { 'nfs::client::debian':
ensure => $ensure,
}
}
default : {
fail("nfs::client is not currently supported on ${::operatingsystem}")
}
}
anchor { 'nfs::client::end': }
}
|