Created
June 13, 2012 22:58
-
-
Save barn/2927045 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# | |
hosts = ['ningyo.dc1.puppetlabs.net','pandora.puppetlabs.lan'] | |
hosts.each do |master| | |
fork do | |
system( "ssh -Tq #{master} sudo -i puppet_deploy.rb -f >/dev/null 2>&1 </dev/null" ) | |
print '' ; sleep 0.5 ; print '' | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment