Giter Club home page Giter Club logo

puppet-autossh's People

Contributors

agronaught avatar gregsteel avatar jamesbelchamber avatar jcpunk avatar liwo avatar mjhartwick avatar

Watchers

 avatar  avatar

puppet-autossh's Issues

Support of echo port in monitor port parameter

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

Add support for SLES 12

At the moment no support for SLES provided in metadata.json.
Are there any changes required to also support SLES 12?

Add support for Solaris 11

Solaris also can use ssh. Can we reuse this module also on Solaris 11?
This ticket is here for tracking work.

Exported resources are not 'unique enough'

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.