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

External configuration files (yaml) #67

Closed
proycon opened this issue Mar 14, 2018 · 1 comment
Closed

External configuration files (yaml) #67

proycon opened this issue Mar 14, 2018 · 1 comment
Assignees
Milestone

Comments

@proycon
Copy link
Owner

proycon commented Mar 14, 2018

The service configuration file (a python script) has always combined both host-specific settings as well as definition of the actual profiles. In production environments, however, changing the service configuration file may be less desireable and one might want to separate host-specific variable definitions from the rest, allowing to keep and install the service configuration python script as the delivered by the software provider.

I propose to add a mechanism to CLAM that simply allows loading of an external YAML configuration file on top of the existing service configuration file, setting and overriding any variables in the settings scope.

@proycon
Copy link
Owner Author

proycon commented Mar 14, 2018

Implemented not as an override after all (wouldn't work well enough), but as a simple function call in the service configuration file, so it's something that needs to be explicitly enabled per webservice. The default template has been adapted accordingly.

proycon added a commit to proycon/clamservices that referenced this issue Mar 15, 2018
proycon added a commit that referenced this issue Mar 16, 2018
@proycon proycon closed this as completed Mar 22, 2018
proycon added a commit to CentreForDigitalHumanities/tscan that referenced this issue Apr 3, 2018
…ng external host-specific configuration files (not backward compatible), see also proycon/clam#67
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant