diff options
| author | Tomas Babej <tbabej@redhat.com> | 2014-05-29 10:37:18 +0200 |
|---|---|---|
| committer | Petr Viktorin <pviktori@redhat.com> | 2014-06-16 19:48:19 +0200 |
| commit | 49fcd42f8fd71b894a0953a37f10a6c326e16048 (patch) | |
| tree | 0c1324c5a3183ce20e92af183ffefde92a77147a /install/tools/ipa-server-install | |
| parent | 926f8647d2a676c1dd2e446633eb76cdf1a7bf0c (diff) | |
| download | freeipa-49fcd42f8fd71b894a0953a37f10a6c326e16048.tar.gz freeipa-49fcd42f8fd71b894a0953a37f10a6c326e16048.tar.xz freeipa-49fcd42f8fd71b894a0953a37f10a6c326e16048.zip | |
ipaplatform: Change service code in freeipa to use ipaplatform services
https://fedorahosted.org/freeipa/ticket/4052
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'install/tools/ipa-server-install')
| -rwxr-xr-x | install/tools/ipa-server-install | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install index 00614b64e..19a0bab94 100755 --- a/install/tools/ipa-server-install +++ b/install/tools/ipa-server-install @@ -79,6 +79,7 @@ from ipapython.dn import DN import ipaclient.ntpconf from ipaplatform import tasks +from ipaplatform import services uninstalling = False installation_cleanup = True @@ -521,7 +522,7 @@ def uninstall(): group_exists = sstore.restore_state("install", "group_exists") - ipaservices.knownservices.ipa.disable() + services.knownservices.ipa.disable() ipautil.restore_hostname(sstore) @@ -1218,7 +1219,7 @@ def main(): #Everything installed properly, activate ipa service. - ipaservices.knownservices.ipa.enable() + services.knownservices.ipa.enable() print "==============================================================================" print "Setup complete" @@ -1242,7 +1243,7 @@ def main(): print "\t This ticket will allow you to use the IPA tools (e.g., ipa user-add)" print "\t and the web user interface." - if not ipaservices.knownservices.ntpd.is_running(): + if not services.knownservices.ntpd.is_running(): print "\t3. Kerberos requires time synchronization between clients" print "\t and servers for correct operation. You should consider enabling ntpd." |
