class VCenterConf
Holds vCenter configuration parameters
Constants
- DEFAULT_CONFIGURATION
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/vcenter_driver.rb, line 60 def initialize super replace(DEFAULT_CONFIGURATION) begin vcenterrc_path = "#{VAR_LOCATION}/remotes/etc/vmm/vcenter/vcenterrc" merge!(YAML.load_file(vcenterrc_path)) rescue StandardError => e STDERR.puts error_message("Couldn't load vcenterrc. \ Reason #{e.message}.") end end