Skip to content
This repository was archived by the owner on Mar 8, 2023. It is now read-only.

Commit 21c2a1d

Browse files
committed
Merge pull request #54 from dnlsng/enable-ubuntu-idmapd-service
Enable idmapd service on Ubuntu when NFSv4 configured; disable when not.
2 parents 174a9b4 + b55d4d7 commit 21c2a1d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

manifests/client/ubuntu/service.pp

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@
99
if $nfs::client::ubuntu::nfs_v4 {
1010
service { 'idmapd':
1111
ensure => running,
12+
enable => true,
1213
subscribe => Augeas['/etc/idmapd.conf', '/etc/default/nfs-common'],
1314
}
1415
} else {
15-
service { 'idmapd': ensure => stopped, }
16+
service { 'idmapd':
17+
ensure => stopped,
18+
enable => false,
19+
}
1620
}
1721
}

0 commit comments

Comments
 (0)