diff options
author | mh <mh@immerda.ch> | 2013-01-20 13:03:43 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2013-01-20 13:03:43 +0100 |
commit | 00cd79935ca5420daa37cadccba878cd7efd75b5 (patch) | |
tree | bfb619b91fd946941036cc5b16ef1404928c34db /manifests | |
parent | d4e8331218db1f35caf69484f8e71adb6f852fab (diff) |
add a script to try to connect to all not yet connected hosts
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/base.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/base.pp b/manifests/base.pp index 2787fee..7755bd6 100644 --- a/manifests/base.pp +++ b/manifests/base.pp @@ -39,6 +39,10 @@ class strongswan::base { content => "#!/bin/bash\n${strongswan::binary} status | grep ESTABLISHED | awk -F\\[ '{ print \$1 }'\n", notify => undef, mode => '0500'; + "/usr/local/sbin/${binary_name}_start_unconnected": + content => template('strongswan/scripts/start_unconnected.sh.erb'), + notify => undef, + mode => '0500'; } service{'ipsec': |