Skip to content

Instantly share code, notes, and snippets.

@barn
Created June 13, 2012 22:58
Show Gist options
  • Save barn/2927045 to your computer and use it in GitHub Desktop.
Save barn/2927045 to your computer and use it in GitHub Desktop.
#!/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