summaryrefslogtreecommitdiff
path: root/manifests/autossh.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-12 17:12:52 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-12 17:12:52 -0300
commit5f629355ff36b73968960ec7a98b718d9390c5f9 (patch)
treeea56f17eb75fd33db26b592ef6f730a02a2459bf /manifests/autossh.pp
downloadpuppet-tunnel-5f629355ff36b73968960ec7a98b718d9390c5f9.tar.gz
puppet-tunnel-5f629355ff36b73968960ec7a98b718d9390c5f9.tar.bz2
Initial import
Diffstat (limited to 'manifests/autossh.pp')
-rw-r--r--manifests/autossh.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/autossh.pp b/manifests/autossh.pp
new file mode 100644
index 0000000..3f47ff0
--- /dev/null
+++ b/manifests/autossh.pp
@@ -0,0 +1,4 @@
+class tunnel::autossh {
+ # collect all resources from hosted tunnels
+ Tunnel_server_realize <<| tag == "${::fqdn}" |>>
+}