diff options
author | mh <mh@immerda.ch> | 2013-01-04 19:30:32 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2013-01-04 19:30:32 +0100 |
commit | b33145596e8caae14dd73908bb92446273564a34 (patch) | |
tree | e5a9b446a197cafcc9fb58618bb6414f6e30f601 | |
parent | 5381a99ba9dd9b14fe0d41aea8c1ab1b50700d6f (diff) |
correctly escape it
-rw-r--r-- | manifests/base.pp | 2 |
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'; } |