# File lib/foreman_maintain/cli/health_command.rb, line 7 def execute DependencyGraph.sort(available_checks.map(&:ensure_instance)).each do |check| print_check_info(check) end end
# File lib/foreman_maintain/cli/health_command.rb, line 36 def filter if label { :label => label } else { :tags => tags || [:default] } end end
# File lib/foreman_maintain/cli/health_command.rb, line 44 def humanized_filter if label "label #{label_string(filter[:label])}" else "tags #{filter[:tags].map { |tag| tag_string(tag) }.join}" end end