Sha256: 3a2a7003127bef2afdb56d958802b9bdb0f28bc7ba002870131953412d2712ec
Contents?: true
Size: 628 Bytes
Versions: 15
Compression:
Stored size: 628 Bytes
Contents
if ARGV[0] == 'server-settings' ARGV.shift 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 end
Version data entries
15 entries across 15 versions & 1 rubygems