lib/datacenter.rb in datacenter-0.1.2 vs lib/datacenter.rb in datacenter-0.2.0
- old
+ new
@@ -1,4 +1,11 @@
require 'net/ssh'
require 'open3'
+require 'class_config'
+require 'logger'
+
+module Datacenter
+ extend ClassConfig
+ attr_config :logger, Logger.new('/dev/null')
+end
Dir.glob(File.expand_path('datacenter/*.rb', File.dirname(__FILE__))).sort.each { |f| require f }
\ No newline at end of file