Puppet Class: nfs::client::ubuntu::service
- Defined in:
- manifests/client/ubuntu/service.pp
Overview
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'manifests/client/ubuntu/service.pp', line 1
class nfs::client::ubuntu::service {
service { 'rpcbind':
ensure => running,
enable => true,
hasstatus => false,
}
if $nfs::client::ubuntu::nfs_v4 {
service { 'idmapd':
ensure => running,
subscribe => Augeas['/etc/idmapd.conf', '/etc/default/nfs-common'],
}
} else {
service { 'idmapd': ensure => stopped, }
}
}
|