class VCenterConf
Holds vCenter configuration parameters
Constants
- DEFAULT_CONFIGURATION
Public Class Methods
new()
click to toggle source
# File lib/vcenter_driver.rb, line 52 def initialize 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