From: Peter Palfrader Date: Fri, 13 Apr 2012 21:49:04 +0000 (+0200) Subject: Maybe there is no need to quote this anymore X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=103c916d3a7186fc4f4cc9930683311ad6d1bfcb;p=mirror%2Fdsa-puppet.git Maybe there is no need to quote this anymore --- diff --git a/modules/stunnel4/manifests/init.pp b/modules/stunnel4/manifests/init.pp index 300eb5210..6d5c4e4b2 100644 --- a/modules/stunnel4/manifests/init.pp +++ b/modules/stunnel4/manifests/init.pp @@ -18,7 +18,7 @@ class stunnel4 { } exec { 'enable_stunnel4': - command => 'sed -i -e \'s/^ENABLED=/#&/; \$a ENABLED=1 # added by puppet\' /etc/default/stunnel4', + command => 'sed -i -e \'s/^ENABLED=/#&/; $a ENABLED=1 # added by puppet\' /etc/default/stunnel4', unless => 'grep -q \'^ENABLED=1\' /etc/default/stunnel4', require => Package['stunnel4'], }