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

Version Path
hobo-inviqa-0.0.15 lib/hobo/tasks/system.rb
hobo-inviqa-0.0.14 lib/hobo/tasks/system.rb
hobo-inviqa-0.0.13 lib/hobo/tasks/system.rb
hobo-inviqa-0.0.11 lib/hobo/tasks/system.rb
hobo-inviqa-0.0.10 lib/hobo/tasks/system.rb
hobo-inviqa-0.0.10.pre.rc11 lib/hobo/tasks/system.rb
hobo-inviqa-0.0.10.pre.rc10 lib/hobo/tasks/system.rb
hobo-inviqa-0.0.10.pre.rc9 lib/hobo/tasks/system.rb
hobo-inviqa-0.0.10.pre.rc8 lib/hobo/tasks/system.rb
hobo-inviqa-0.0.10.pre.rc7 lib/hobo/tasks/system.rb
hobo-inviqa-0.0.10.pre.rc6 lib/hobo/tasks/system.rb
hobo-inviqa-0.0.10.pre.rc4 lib/hobo/tasks/system.rb
hobo-inviqa-0.0.10.pre.rc2 lib/hobo/tasks/system.rb
hobo-inviqa-0.0.9 lib/hobo/tasks/system.rb
hobo-inviqa-0.0.9.pre.rc2 lib/hobo/tasks/system.rb
hobo-inviqa-0.0.9.pre.rc1 lib/hobo/tasks/system.rb
hobo-inviqa-0.0.9.pre.alpha lib/hobo/tasks/system.rb