Introduce ipa control script that reads configuration off ldap

This replace the former ipactl script, as well as replace the current way ipa
components are started.

Instead of enabling each service in the system init scripts, enable only the
ipa script, and then let it start all components based on the configuration
read from the LDAP tree.

resolves: https://fedorahosted.org/freeipa/ticket/294
This commit is contained in:
Simo Sorce
2010-12-04 15:42:14 -05:00
parent ded15c72ff
commit 2efc08a6fc
10 changed files with 332 additions and 121 deletions

View File

@@ -842,6 +842,10 @@ def main():
except Exception, e:
sys.exit("Configuration of client side components failed!\nipa-client-install returned: " + str(e))
#Everything installed properly, activate ipa service.
service.chkconfig_on('ipa')
print "=============================================================================="
print "Setup complete"
print ""