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 include_services #134

Closed
wants to merge 1 commit into from
Closed

Add include_services #134

wants to merge 1 commit into from

Conversation

lightcode
Copy link
Contributor

I have implemented an option to include services from other files. We can use it to reduce the size of the maestro.yaml file and improve its readability. To do that, I have had a top level keyword "include_services" to specify a list of files to include (see README for more information).

@mpetazzoni
Copy link
Contributor

Hey @lightcode,

There's actually a much easier way to do this: MaestroNG pre-processes the YAML file as a Jinja2 file, so you can use Jinja2 includes to do this. This is unfortunately not documented, so it's a pretty hidden feature. I have an open task to document it (#61).

Let me know if you have any questions about this, I'll be happy to help/give examples!

/Max

@mpetazzoni mpetazzoni closed this Jun 19, 2015
@mpetazzoni mpetazzoni self-assigned this Jun 19, 2015
@lightcode lightcode deleted the include-services branch June 20, 2015 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants