Revision c8c66305
Added by Ohad Levy over 12 years ago
- ID c8c6630529a0c8bee511dfe65f0de47ea2a050d8
app/models/orchestration/dns.rb | ||
---|---|---|
module InstanceMethods
|
||
|
||
def dns?
|
||
!domain.nil? and !domain.proxy.nil?
|
||
!domain.nil? and !domain.proxy.nil? and errors.empty?
|
||
end
|
||
|
||
def dns_a_record
|
Also available in: Unified diff
fixes #1203 foreman might report 500 error when hostname is not defined