From: Peter Palfrader Date: Sat, 31 May 2014 16:04:28 +0000 (+0200) Subject: load nfs and autofs4 on autofs hosts X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=8fa77ff325d06880ddd12431ca528cf5ac997b33;p=mirror%2Fdsa-puppet.git load nfs and autofs4 on autofs hosts --- diff --git a/modules/autofs/manifests/common.pp b/modules/autofs/manifests/common.pp index 29ec1f679..3b68051ec 100644 --- a/modules/autofs/manifests/common.pp +++ b/modules/autofs/manifests/common.pp @@ -2,6 +2,9 @@ class autofs::common { package { 'autofs': ensure => installed } package { 'nfs-common': ensure => installed } + site::linux_module { 'nfs': } + site::linux_module { 'autofs4': } + exec { 'autofs reload': path => '/usr/bin:/usr/sbin:/bin:/sbin', command => 'service autofs reload',