howto/cumin: trick for tunnel: confirm that port 8080 is used by puppetdb
authored
by
port 8080 is fairly popular so many things can be binding to that port. Today I had a container running that was bound to it and puppetdb queries would not work (quite unsurprisingly). The cumin function in the trick for automatically setting up the tunnel now checks whether the port will respond to a simple puppetdb query. `echo -e` was a typo. really I wanted that to be `-n` so that the dots showing the waiting would be on the same line. The new `echo "x"` is there to indicate the error in the waiting line but also to move the error message to a new line, where it's easier to read