module RedZone::Environment
RedZone
environment properties
Public Class Methods
default_configfile()
click to toggle source
Get the default location of the config file @return [Pathname] default config.yml path
# File lib/redzone/environment.rb, line 23 def self.default_configfile self.default_etc.join('config.yml') end
default_etc()
click to toggle source
Get the default etc path @return [Pathname] default etc path
# File lib/redzone/environment.rb, line 8 def self.default_etc Pathname.new('/etc/redzone') end
default_var_named()
click to toggle source
Get the default location of the zone file @return [Pathname] default zones.yml path
# File lib/redzone/environment.rb, line 18 def self.default_var_named Pathname.new('/var/named') end
default_zonefile()
click to toggle source
Get the default location of the zone file @return [Pathname] default zones.yml path
# File lib/redzone/environment.rb, line 13 def self.default_zonefile self.default_etc.join('zones.yml') end