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_var_named ⇒ Pathname
Get the default location of the zone file.
-
.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
23 24 25 |
# File 'lib/redzone/environment.rb', line 23 def self.default_configfile self.default_etc.join('config.yml') end |
.default_etc ⇒ Pathname
Get the default etc path
8 9 10 |
# File 'lib/redzone/environment.rb', line 8 def self.default_etc Pathname.new('/etc/redzone') end |
.default_var_named ⇒ Pathname
Get the default location of the zone file
18 19 20 |
# File 'lib/redzone/environment.rb', line 18 def self.default_var_named Pathname.new('/var/named') end |
.default_zonefile ⇒ Pathname
Get the default location of the zone file
13 14 15 |
# File 'lib/redzone/environment.rb', line 13 def self.default_zonefile self.default_etc.join('zones.yml') end |