From: Héctor Orón Martínez Date: Mon, 27 Oct 2014 13:13:50 +0000 (+0100) Subject: porterbox: only include schroot when module is present X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-puppet.git;a=commitdiff_plain;h=1055b6b9d0f2f0c30898fc74df2e3b092ebfd543 porterbox: only include schroot when module is present Signed-off-by: Héctor Orón Martínez --- diff --git a/modules/porterbox/manifests/init.pp b/modules/porterbox/manifests/init.pp index b68d05194..b2a8620ed 100644 --- a/modules/porterbox/manifests/init.pp +++ b/modules/porterbox/manifests/init.pp @@ -1,5 +1,7 @@ class porterbox ($ensure = present){ - include schroot + if $ensure in present { + include schroot + } file { '/usr/local/bin/dd-schroot-cmd': mode => '0555',