3 4 5 6 7 8 9 10 11
# File 'lib/pec/command/base.rb', line 3 def self.run(filter_hosts) before_do Pec.servers(filter_hosts, not_fetch) do |server,config| task(server, config) end after_do rescue => e print_exception(e) end