diff options
author | mh <mh@immerda.ch> | 2013-08-10 19:23:58 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2013-08-10 19:23:58 +0200 |
commit | 0c7c91c6e3ae96c768f343ff1e5436eb0181989b (patch) | |
tree | 46a2ae87ec09510392c132d155aef50207293dea | |
parent | 12b26d899b700be9735903fd457d54f75b0638aa (diff) |
only show installed connections
-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 1a0b4bf..e4fd1e5 100644 --- a/manifests/base.pp +++ b/manifests/base.pp @@ -37,7 +37,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 INSTALLED | awk -F\\{ '{ print \$1 }'\n", notify => undef, mode => '0500'; "/usr/local/sbin/${binary_name}_start_unconnected": |