Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change location of config files and runtime data #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tiran
Copy link
Member

@tiran tiran commented Aug 26, 2015

The patch makes the location of config files and runtime data more consistent with the rest of FreeIPA. Alexander has suggested /etc/ipa/extensions as root for all IPA extensions.

@@ -27,7 +27,7 @@
class Config(object):
development_config = ('freeipa_community_portal/conf/'
'freeipa_community_portal_dev.ini')
deployment_config = '/etc/freeipa_community_portal.ini'
deployment_config = '/etc/ipa/extensions/community-portal/portal.ini'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These same string literals appear in freeipa-portal-install and create-portal-user.

We should define them here in the lib and import from the scripts.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can get rid of freeipa-portal-install as soon as we have RPM packages.

For create-portal-user I'm planning to use freeipa_community_portal.config in the script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants