Sha256: 313c0cb9fc76a4c847121b83e81271889247b2f685af7eaee299684d68d92d83
Contents?: true
Size: 441 Bytes
Versions: 17
Compression:
Stored size: 441 Bytes
Contents
desc "System configuration related commands" namespace :system do desc "Check system configuration for potential problems" task :check do Hobo::Lib::HostCheck.check.each do |k,v| name = k.to_s.gsub('_', ' ') name[0] = name[0].upcase if v == :ok Hobo.ui.success "#{name}: OK" else Hobo.ui.error "#{name}: FAILED\n" Hobo.ui.warning v.advice.gsub(/^/, ' ') end end end end
Version data entries
17 entries across 17 versions & 1 rubygems