lincolnloop/salmon

SSH to Master

Closed this issue · 1 comments

Hi there,

You mentioned in the README it's possible to run from a server that can SSH to the master, rather than on the master itself. Is there an example config of this somewhere? I'm not in the python community but was thinking this might be a great tool!

ipmb commented

Hi @brandonparsons this is possible by adding a line like this (uncommented) to your conf.py file:

# Tip: Execute run_checks via ssh by using:
# SALT_COMMAND = 'ssh example.com "sudo su - salmon -s /bin/bash -c \'salt {args} \'\"'

That being said, I'm in the process of rewriting Salmon to decouple it from Salt (but be even easier to use with Salt). I'll be doing the work here: #27