diff options
-rw-r--r-- | manifests/export.pp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/manifests/export.pp b/manifests/export.pp index c4c08dd..5f886b4 100644 --- a/manifests/export.pp +++ b/manifests/export.pp @@ -11,12 +11,11 @@ define nfs::export ( fail 'NFS server support is not enabled.' } - if $ensure == present { - concat::fragment { "export_${name}": - target => $::nfs::config_file, - content => template('nfs/export.erb'), - order => 10, - } + concat::fragment { "export_${name}": + ensure => $ensure, + target => $::nfs::config_file, + content => template('nfs/export.erb'), + order => 10, } } |