Module: Caco

Defined in:
lib/caco.rb,
lib/caco/ssh.rb,
lib/caco/cell.rb,
lib/caco/sudo.rb,
lib/caco/rbenv.rb,
lib/caco/barman.rb,
lib/caco/config.rb,
lib/caco/debian.rb,
lib/caco/finder.rb,
lib/caco/repmgr.rb,
lib/caco/grafana.rb,
lib/caco/haproxy.rb,
lib/caco/version.rb,
lib/caco/executer.rb,
lib/caco/postgres.rb,
lib/caco/timescale.rb,
lib/caco/downloader.rb,
lib/caco/prometheus.rb,
lib/caco/settings_loader.rb

Defined Under Namespace

Modules: Barman, Debian, Facter, Grafana, Haproxy, Macro, Postgres, Prometheus, Rbenv, Repmgr, Ssh, Sudo, Timescale Classes: Cell, Configuration, Downloader, Error, Executer, FileLink, FileReader, FileWriter, Finder, FixtureNotExist, SettingsLoader, Unpacker

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



3
4
5
# File 'lib/caco/config.rb', line 3

def config
  @config
end

.rootObject

Returns the value of attribute root.



66
67
68
# File 'lib/caco.rb', line 66

def root
  @root
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



6
7
8
9
# File 'lib/caco/config.rb', line 6

def self.configure
  self.config ||= Configuration.new
  yield(config)
end