Puppet Class: nfs_server::params
- Inherited by:
-
nfs_server
- Defined in:
- manifests/params.pp
Overview
Nfs_server::Params
Params pattern for Nfs_server
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'manifests/params.pp', line 4
class nfs_server::params {
case $facts['os']['family'] {
"RedHat": {
$package = "nfs-utils"
$service = "nfs-server"
$default_owner = "nfsnobody"
$default_group = "nfsnobody"
}
"Debian": {
$package = "nfs-kernel-server"
$service = "nfs-kernel-server"
$default_owner = "nobody"
$default_group = "nogroup"
}
default: {
fail("${module_name} does not support ${facts['os']['family']} yet - please consider a PR")
}
}
}
|