agronaught / puppet-autossh Goto Github PK
View Code? Open in Web Editor NEWThis project forked from aimonb/puppet-autossh
Puppet module for managing autossh initiated tunnels
License: Apache License 2.0
This project forked from aimonb/puppet-autossh
Puppet module for managing autossh initiated tunnels
License: Apache License 2.0
Introduced in recent changes and affects a new/clean install...
line 85 - -gt unary operator expected
Hi,
I want to use the monitor port with an echo port but it's not supported by your module yet.
Here is a fix to add this feature:
--- /etc/autossh/autossh-tunnel.sh 2016-09-07 16:42:45.532809108 +0200
+++ /tmp/puppet-file20160914-31221-1kakevn 2016-09-14 10:57:58.345376435 +0200
@@ -61,7 +61,8 @@
rm -f $PID_FILE
fi
runuser - $USER -c "$SVC_BIN $SVC_CONF"
- cmd=`echo "$SVC_BIN $SVC_CONF" | sed 's/-f/ /g' | sed 's/\s/\\\s+/g'`
+ tunnelargs=$(echo ${TUNNEL_ARGS} | sed 's/:/ /g')
+ cmd=`echo "$SVC_BIN $tunnelargs ${BIND}:${PORT}:${FORWARD_HOST}:${HOSTPORT} -p ${REMOTE_SSH_PORT} ${REMOTE_SSH_USER}@${REMOTE_SSH_HOST}" | sed 's/-f/ /g' | sed 's/\s/\\\s+/g'`
pgrep -f "$cmd" > $PID_FILE
# wait for it to load up
Hope you will integrate it in your module.
Best regards,
Bénoni Delfosse
At the moment no support for SLES provided in metadata.json.
Are there any changes required to also support SLES 12?
Solaris also can use ssh. Can we reuse this module also on Solaris 11?
This ticket is here for tracking work.
If a tunnel setup is run on a 2nd source node with the same target, catalog compilation fails on the destination node. The Tunnel_Endpoint exported resource needs to be updated to include the source host name.
Debian is supported. How about Ubuntu?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.