-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
docs: Clearly document built in template variables #5382
Comments
It would be grand to have this documentation. Especially, as I am attempting to find a suitable replacement for the previous template variable |
This would be very useful indeed. Any taker? |
Does the templating engine also support conditional logic as shown here? If so, that would also be good to document. (Or at least reference that page, possibly with a few packer-specific examples.) |
unsubscribe On Sunday, May 6, 2018, 12:44:25 PM MDT, Evan Cox <notifications@github.com> wrote:
Does the templating engine also support conditional logic as shown here? If so, that would also be good to document. (Or at least reference that page, possibly with a few packer-specific examples.)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@Mr-Nietzsche I'm pretty sure to unsubscribe from a github issue you have to do so via the unsubscribe button in the issue UI. @evancox10 Yes, you can use that conditional logic and it's a good idea to document it somewhere. I know the puppet docs have some examples because the defaults contain some of this kind of logic: https://www.packer.io/docs/provisioners/puppet-masterless.html but we could probably link these docs in our general discussion of how the template engine works. |
Why has this been closed? The |
@noshky this isn't closed..? |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
The docs doesn't clearly enumerate the builtin template variables such as
{{ .Name }}
(and possibly some more).The text was updated successfully, but these errors were encountered: