Replace /etc/ipa/ipa.conf with /etc/ipa/default.conf

The new framework uses default.conf instead of ipa.conf. This is useful
also because Apache uses a configuration file named ipa.conf.

This wipes out the last vestiges of the old ipa.conf from v1.
This commit is contained in:
Rob Crittenden
2009-11-25 17:16:06 -05:00
committed by Jason Gerard DeRose
parent 2f8129a17c
commit 384eec771d
7 changed files with 24 additions and 37 deletions

View File

@@ -269,14 +269,14 @@ def main():
opts = [{'name':'comment', 'type':'comment', 'value':'File modified by ipa-client-install'},
{'name':'empty', 'type':'empty'}]
#[defaults]
defopts = [{'name':'server', 'type':'option', 'value':ipasrv.getServerName()},
#[global]
defopts = [{'name':'xmlrpc_uri', 'type':'option', 'value':'https://%s/ipa/xml' % ipasrv.getServerName()},
{'name':'realm', 'type':'option', 'value':ipasrv.getRealmName()}]
opts.append({'name':'defaults', 'type':'section', 'value':defopts})
opts.append({'name':'global', 'type':'section', 'value':defopts})
opts.append({'name':'empty', 'type':'empty'})
ipaconf.newConf("/etc/ipa/ipa.conf", opts)
ipaconf.newConf("/etc/ipa/default.conf", opts)
# Configure ldap.conf
ldapconf = ipachangeconf.IPAChangeConf("IPA Installer")