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

Add support for Jinja config files in coco #240

Open
andrerenard opened this issue Apr 20, 2022 · 1 comment
Open

Add support for Jinja config files in coco #240

andrerenard opened this issue Apr 20, 2022 · 1 comment

Comments

@andrerenard
Copy link

We would like to support Jinja (.j2) files in coco to match support added to kotekan.

This should be fairly simple, but we'll have to carefully decide how to deal with include folder locations and external Jinja variables. e.g. if we have a configuration file which can operate in multiple modes (based on optional variables), how does coco set the mode?

This is low priority, but would be nice to reduce the length (and possibly number) of CHIME configs.

@ketiltrout
Copy link
Member

We use ansible, which already uses Jinaj2 for templating, to deploy the coco config files.

For CHIME, at least, this doesn't seem like it would be worth the effort: we're going to run Jinga2 at install-time via ansible, and install the resultant conf files, rather than installing j2 files on the server and having coco de-jinga-fy them at runtime.

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

No branches or pull requests

2 participants