Dzahn has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/276847

Change subject: set $SSH to $(which ssh) vs manual setup
......................................................................

set $SSH to $(which ssh) vs manual setup

Instead of exiting and making the user manually
set their path to ssh, set it to $(which ssh) to determine the path.

Change-Id: I2d8a56594ce1e6b60a9df88110caa8e49f6073d8
---
M salt-misc/gather-minion-info.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/software 
refs/changes/47/276847/1

diff --git a/salt-misc/gather-minion-info.sh b/salt-misc/gather-minion-info.sh
index 25c7b68..3d87884 100755
--- a/salt-misc/gather-minion-info.sh
+++ b/salt-misc/gather-minion-info.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 # fixme set SSH here to what you use
-SSH=""
+SSH=$(which ssh)
 
 if [ -z "$SSH" ]; then
     echo "edit this script to put your ssh command"

-- 
To view, visit https://gerrit.wikimedia.org/r/276847
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2d8a56594ce1e6b60a9df88110caa8e49f6073d8
Gerrit-PatchSet: 1
Gerrit-Project: operations/software
Gerrit-Branch: master
Gerrit-Owner: Dzahn <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to