From: Stephen Gran Date: Tue, 8 May 2012 20:22:59 +0000 (+0100) Subject: some tidy ups X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=be87d13ce2fbaf73cf58cd9955f39f51aabdb773;p=mirror%2Fdsa-puppet.git some tidy ups Signed-off-by: Stephen Gran --- diff --git a/modules/apache2/manifests/site.pp b/modules/apache2/manifests/site.pp index 7acbfc649..4588a6024 100644 --- a/modules/apache2/manifests/site.pp +++ b/modules/apache2/manifests/site.pp @@ -1,6 +1,6 @@ define apache2::site ( $source=undef, - $content=false, + $content=undef, $ensure=present, $site=undef ) { @@ -27,8 +27,7 @@ define apache2::site ( $link_target = $ensure ? { present => $target, - absent => absent, - default => fail ( "Unknown ensure value: '$ensure'" ), + absent => absent } if $content {