diff options
author | mh <mh@immerda.ch> | 2013-08-10 20:53:48 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2013-08-10 20:53:48 +0200 |
commit | 8016f252e14c9af93fd17753eeb20d035ccfcb7e (patch) | |
tree | 89387619ec9aef7e0b3697071f584fb607735ca1 /manifests | |
parent | 0c7c91c6e3ae96c768f343ff1e5436eb0181989b (diff) |
add info script
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 e4fd1e5..e6595a0 100644 --- a/manifests/base.pp +++ b/manifests/base.pp @@ -40,6 +40,10 @@ class strongswan::base { content => "#!/bin/bash\n${strongswan::binary} status | grep INSTALLED | awk -F\\{ '{ print \$1 }'\n", notify => undef, mode => '0500'; + "/usr/local/sbin/${binary_name}_info": + content => template('strongswan/scripts/info.sh.erb'), + notify => undef, + mode => '0500'; "/usr/local/sbin/${binary_name}_start_unconnected": content => template('strongswan/scripts/start_unconnected.sh.erb'), notify => undef, |