lib/testlab.rb in testlab-1.18.1 vs lib/testlab.rb in testlab-1.19.0
- old
+ new
@@ -5,10 +5,11 @@
require 'lxc'
require 'active_support/inflector'
require 'testlab/version'
+require 'testlab/const'
require 'testlab/monkeys'
# TestLab - A framework for building lightweight virtual infrastructure using LXC
#
# The core concept with the TestLab is the *Labfile*. This file dictates the
@@ -151,12 +152,9 @@
@repo_dir = (options[:repo_dir] || File.dirname(@labfile_path))
@config_dir = (options[:config_dir] || File.join(@repo_dir, ".testlab-#{TestLab.hostname}"))
File.exists?(@config_dir) or FileUtils.mkdir_p(@config_dir)
-
- # @log_file = (options[:log_file] || File.join(@repo_dir, "testlab-#{TestLab.hostname}.log") || STDOUT)
- # self.ui.logger = ZTK::Logger.new(@log_file)
end
# Boot TestLab
#
# Change to the defined repository directory and load the *Labfile*.