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