Revision abd8f1d1
Added by Daniel Lobato Garcia over 9 years ago
app/models/operatingsystems/solaris.rb | ||
---|---|---|
end
|
||
|
||
private
|
||
|
||
def resolv_nfs_path(host, dir, domain)
|
||
host += ".#{domain.name}" unless host =~ /\./
|
||
# If host is already an IP then this works fine
|
||
ip = domain.resolver.getaddress(host)
|
||
"#{ip}:#{dir}"
|
||
end
|
||
|
||
end
|
Also available in: Unified diff
Refs #3809 - Remove cops for empty lines