Module: RedZone::Environment
- Defined in:
- lib/redzone/environment.rb
Overview
RedZone environment properties
Class Method Summary collapse
-
.default_configfile ⇒ Pathname
Get the default location of the config file.
-
.default_etc ⇒ Pathname
Get the default etc path.
-
.default_zonefile ⇒ Pathname
Get the default location of the zone file.
Class Method Details
.default_configfile ⇒ Pathname
Get the default location of the config file
16 17 18 |
# File 'lib/redzone/environment.rb', line 16 def self.default_configfile self.default_etc.join('config.yml') end |
.default_etc ⇒ Pathname
Get the default etc path
6 7 8 |
# File 'lib/redzone/environment.rb', line 6 def self.default_etc Pathname.new('/etc/redzone') end |
.default_zonefile ⇒ Pathname
Get the default location of the zone file
11 12 13 |
# File 'lib/redzone/environment.rb', line 11 def self.default_zonefile self.default_etc.join('zones.yml') end |