aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom De Vylder <tom@penumbra.be>2012-11-28 11:11:51 +0100
committerTom De Vylder <tom@penumbra.be>2012-11-28 11:11:51 +0100
commite66a985d4c2620dd0f96d3cbabcbce3e08e4dbcb (patch)
treefd97a77c8e67e0797bb121471853f0ca9d152c79
parent8c1b10374bf8b6fd75bc0110b31d91badc84a981 (diff)
downloadpuppet-nfs-e66a985d4c2620dd0f96d3cbabcbce3e08e4dbcb.tar.gz
puppet-nfs-e66a985d4c2620dd0f96d3cbabcbce3e08e4dbcb.tar.bz2
Bugfix: export removal
-rw-r--r--manifests/export.pp11
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,
}
}