summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <rubyfy@dev.buetow.org>2015-10-23 22:34:57 +0100
committerPaul Buetow <rubyfy@dev.buetow.org>2015-10-23 22:34:57 +0100
commitb6cd9f6caccb01420a292a78901118e206ea3db1 (patch)
tree7bc24640751f2bdd5a6231ee7a14b98a036da2d5
parent2dabcc01fa390b288bd1f78803bc8cae5e9f339d (diff)
/opt/local/bin/fortune
Real Programmers don't play tennis, or any other sport that requires you to change clothes. Mountain climbing is OK, and real programmers wear their climbing boots to work in case a mountain should suddenly spring up in the middle of the machine room.
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index 86a5ef5..6dfceca 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,9 @@
Rubyfy
======
-Tested on
+It's just a fancy SSH loop to execute stuff on remote servers.
+
+Tested on
* Fedora 22 / Ruby 2.2.3
* Mac OS X / MacPorts Ruby 2.2.0
@@ -23,6 +25,7 @@ Example usage:
echo {foo,bar}.example.com | ./rubyfy.rb -p 10 -c 'pgrep -lf httpd' -n grep.txt
# Reboot server only if file /var/run/maintenance.lock does NOT exist!
+echo foo.example.com |
./rubyfy.rb --root --command reboot --precondition /var/run/maintenance.lock
```