Commit Graph

4 Commits

Author SHA1 Message Date
Ricardo Carrillo Cruz d04944fa9d Refactor tunnel.pp params
Autossh parameters are only the monitoring port and the -f flag,
the rest are not specific to autossh but they belong to ssh.
Instead of complicating the signature of the class, let's just
put all ssh args as an array and expose monitoring and background
mode flags.

Change-Id: I886edb0a3ed61b81060db39a2b4ab1bb70658f44
2015-04-06 10:43:33 +00:00
Ricardo Carrillo Cruz da9eb4a323 Add user parameter to allow running the service as a non-root user 2015-03-25 10:23:15 +00:00
Ricardo Carrillo Cruz 4c080ffbe3 Fix autossh command template
It had breaklines, now it's set as a one-liner
2015-03-24 18:28:18 +00:00
Ricardo Carrillo Cruz 2c69ca440a Add puppet manifests and templates 2015-03-24 17:54:12 +01:00