summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-06-23 02:06:49 -0400
committerRob Crittenden <rcritten@redhat.com>2011-06-23 02:11:34 -0400
commit8810758c11df8afb5fb7ddf97a71c55a431edfd2 (patch)
tree15065108a07fcd2d22527691b268b61a66b33fee /tests
parent975e2bfa2b48c60bba99e2f2e4f106e031230bd3 (diff)
downloadfreeipa-8810758c11df8afb5fb7ddf97a71c55a431edfd2.tar.gz
freeipa-8810758c11df8afb5fb7ddf97a71c55a431edfd2.tar.xz
freeipa-8810758c11df8afb5fb7ddf97a71c55a431edfd2.zip
Let the framework be able to override the hostname.
The hostname is passed in during the server installation. We should use this hostname for the resulting server as well. It was being discarded and we always used the system hostname value. Important changes: - configure ipa_hostname in sssd on masters - set PKI_HOSTNAME so the hostname is passed to dogtag installer - set the hostname when doing ldapi binds This also reorders some things in the dogtag installer to eliminate an unnecessary restart. We were restarting the service twice in a row with very little time in between and this could result in a slew of reported errors, though the server installed ok. ticket 1052
Diffstat (limited to 'tests')
-rw-r--r--tests/test_ipalib/test_config.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_ipalib/test_config.py b/tests/test_ipalib/test_config.py
index 97d7548f..e729a628 100644
--- a/tests/test_ipalib/test_config.py
+++ b/tests/test_ipalib/test_config.py
@@ -441,7 +441,6 @@ class test_Env(ClassChecker):
(o, home) = self.new()
o._bootstrap()
ipalib = path.dirname(path.abspath(config.__file__))
- assert o.host == socket.gethostname()
assert o.ipalib == ipalib
assert o.site_packages == path.dirname(ipalib)
assert o.script == path.abspath(sys.argv[0])