Puppet Class: nfs::client::package
- Defined in:
- manifests/client/package.pp
Summary
Overview
Class: nfs::client::package
This Function exists to
1. install needed packages for nfs clients
-
Daniel Klockenkaemper <dk@marketing-factory.de>
-
Martin Alfke <tuxmea@gmail.com>
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'manifests/client/package.pp', line 11
class nfs::client::package {
if $nfs::manage_packages {
if $nfs::client::nfs_v4 {
if $nfs::effective_nfsv4_client_services != undef and $nfs::manage_client_service {
$notify_services = Service[keys($nfs::effective_nfsv4_client_services)]
} else {
$notify_services = undef
}
} else {
if $nfs::effective_client_services != undef and $nfs::manage_client_service {
$notify_services = Service[keys($nfs::effective_client_services)]
} else {
$notify_services = undef
}
}
if $nfs::effective_client_packages != undef {
package { $nfs::effective_client_packages:
ensure => $nfs::client_package_ensure,
notify => $notify_services,
}
}
}
}
|