lib/populus.rb in populus-0.0.1.pre3 vs lib/populus.rb in populus-0.0.1
- old
+ new
@@ -1,5 +1,18 @@
module Populus; end
-require "populus/do"
+require "logger"
+require "populus/pool"
require "populus/dsl"
+require "populus/daemon"
+require "populus/watch_thread"
+require "populus/default_logger"
require "populus/version"
+
+module Populus
+ class << self
+ attr_accessor :consul_bin, :logger
+ end
+
+ self.consul_bin = 'consul' # default to count on $PATH
+ self.logger = Populus::DefaultLogger
+end