cman_nodes.rb
# Once the script has succeeded without errors, print metrics lines.
Once the script has succeeded without errors, print metrics lines.
Once the script has succeeded without errors print metrics lines .
def output_success
  puts "status Cman node status for #{@hostname}"
  @metrics.each do |name,v|
    puts "metric #{name} #{v[:type]} #{v[:value]}"
  end
end
def output_success puts "status Cman node status for #{@hostname}" @metrics . each do | name , v | puts "metric #{name} #{v[:type]} #{v[:value]}" end end
Once the script has succeeded without errors, print metrics lines.
Once the script has succeeded without errors print metrics lines .