17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# File 'manifests/client/package.pp', line 17
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,
}
}
}
}
|