From 103c916d3a7186fc4f4cc9930683311ad6d1bfcb Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 13 Apr 2012 23:49:04 +0200 Subject: [PATCH] Maybe there is no need to quote this anymore --- modules/stunnel4/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'], } -- 2.20.1