31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# File 'manifests/server/debian.pp', line 31
class nfs::server::debian::service {
if nfs::server::debian::nfs_v4 == true {
service {
'nfs-kernel-server':
ensure => running,
subscribe => [ Concat['/etc/exports'], Augeas['/etc/idmapd.conf', '/etc/default/nfs-common'] ],
require => Class['nfs::server::debian::configure']
}
} else {
service {
'nfs-kernel-server':
ensure => running,
subscribe => Concat['/etc/exports'],
require => Class['nfs::server::debian::configure']
}
}
}
|