Sha256: 8766870d8dbbb80fecad9fdb5f0b646d7afb0199ace32ad8a3263d17e0bdd494

Contents?: true

Size: 545 Bytes

Versions: 9

Compression:

Stored size: 545 Bytes

Contents

if not File.directory? ABIQUO_BASE_DIR
  $stderr.puts "\n'abicli set' command is used to configure the Abiquo Platform.\nUnfortunately, I can't find the Abiquo Platform installed in this server.\n\nTry other commands.\n\n"
  help
  exit 1
end

def print_server_settings
  f = ABIQUO_BASE_DIR + '/config/server.xml'
  doc = Nokogiri::XML(File.new(f))
  puts
  two_cols("Event Sink URL:".bold, config_get_node(doc, 'eventSinkAddress'))
  two_cols("Session Timeout:".bold, config_get_node(doc, 'sessionTimeout'))
  puts
end

print_server_settings

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
abiquo-etk-0.6.4 lib/abicli/commands/server-settings168.ext
abiquo-etk-0.6.3 lib/abicli/commands/server-settings168.ext
abiquo-etk-0.6.2 lib/abicli/commands/server-settings168.ext
abiquo-etk-0.6.1 lib/abicli/commands/server-settings168.ext
abiquo-etk-0.6.0 lib/abicli/commands/server-settings168.ext
abiquo-etk-0.5.9 lib/abicli/commands/server-settings168.ext
abiquo-etk-0.5.8 lib/abicli/commands/server-settings168.ext
abiquo-etk-0.5.3 lib/abicli/commands/server-settings168.ext
abiquo-etk-0.4.42 lib/abicli/commands/server-settings168.ext