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

added docs for deploy groups string interpolation #279

Merged
merged 3 commits into from
Feb 29, 2016

Conversation

mjksmith
Copy link
Contributor

No description provided.

@mjksmith mjksmith self-assigned this Feb 29, 2016
String interpolation
--------------------

Deploy groups support string interpolation for the following facts: ``cluster``, ``instance`` and ``service``. String interpolation works by surrounding the fact's name with braces (``{}``) in the ``deploy_group`` field -- this is python's ``string.format`` syntax. You must still specify explicit deploy groups in your ``deploy.yaml`` however.
Copy link
Contributor

Choose a reason for hiding this comment

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

Just call them variables. "facts" is puppety.

I though it was %() ? Can you link to the actual python docs that describe this format? (as apparently I don't fully understand how to use it)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@solarkennedy
Copy link
Contributor

ship

mjksmith added a commit that referenced this pull request Feb 29, 2016
added docs for deploy groups string interpolation
@mjksmith mjksmith merged commit 754c3e8 into master Feb 29, 2016
@mjksmith mjksmith deleted the deploy_group_parse_docs branch February 29, 2016 23:13
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