summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-01-04 19:30:32 +0100
committermh <mh@immerda.ch>2013-01-04 19:30:32 +0100
commitb33145596e8caae14dd73908bb92446273564a34 (patch)
treee5a9b446a197cafcc9fb58618bb6414f6e30f601
parent5381a99ba9dd9b14fe0d41aea8c1ab1b50700d6f (diff)
correctly escape it
-rw-r--r--manifests/base.pp2
1 files changed, 1 insertions, 1 deletions
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';
}