From b33145596e8caae14dd73908bb92446273564a34 Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 4 Jan 2013 19:30:32 +0100 Subject: correctly escape it --- manifests/base.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/base.pp b/manifests/base.pp index 9544102..2787fee 100644 --- a/manifests/base.pp +++ b/manifests/base.pp @@ -36,7 +36,7 @@ class strongswan::base { '/etc/ipsec.conf': content => template('strongswan/ipsec.conf.erb'); "/usr/local/sbin/${binary_name}_connected_hosts": - content => "#!/bin/bash\n${strongswan::binary} status | grep ESTABLISHED | awk -F\[ '{ print \$1 }'\n", + content => "#!/bin/bash\n${strongswan::binary} status | grep ESTABLISHED | awk -F\\[ '{ print \$1 }'\n", notify => undef, mode => '0500'; } -- cgit v1.2.3