Method: Pec::Command::Base.run
- Defined in:
- lib/pec/command/base.rb
.run(filter_hosts) ⇒ Object
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 |