Project

General

Profile

« Previous | Next » 

Revision ede6d4ea

Added by Marek Hulán over 9 years ago

Fixes #9500 - matching uses the whole domain name

View differences:

test/unit/host_test.rb
assert_equal "myhost.company.com", host.name
end
test "should not append domainname to fqdn" do
test "should not append domainname to fqdn for unmanaged host" do
host = Host.create :name => "myhost.sub.comp.net", :mac => "aabbccddeeff", :ip => "123.01.02.03",
:domain => Domain.find_or_create_by_name("company.com"),
:certname => "myhost.sub.comp.net",

Also available in: Unified diff