Sha256: 0134321009aaf760d6bf9036fe396bfa097ce058f5ea130f6e61e0a3ae863eae
Contents?: true
Size: 935 Bytes
Versions: 5
Compression:
Stored size: 935 Bytes
Contents
# run unit tests for the NewRelic Agent namespace :newrelic do desc "Install a default config/newrelic.yml file" task :install do load File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "install.rb")) end namespace :config do desc "Describe available New Relic configuration settings." task :docs do require File.expand_path(File.join(File.dirname(__FILE__), "..", "new_relic", "agent", "configuration", "default_source.rb")) NewRelic::Agent::Configuration::DEFAULTS.each do |key, value| if value[:public] puts "Setting: #{key}" if value[:type] == NewRelic::Agent::Configuration::Boolean puts "Type: Boolean" else puts "Type: #{value[:type]}" end puts 'Description: ' + value[:description] puts "-" * (value[:description].length + 14) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems