Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
a978bbf7
Commit
a978bbf7
authored
Jun 15, 2015
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
website: update docs for new functions
parent
472b0603
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
website/source/docs/templates/configuration-templates.html.markdown
...urce/docs/templates/configuration-templates.html.markdown
+2
-0
No files found.
website/source/docs/templates/configuration-templates.html.markdown
View file @
a978bbf7
...
@@ -55,6 +55,8 @@ While some configuration settings have local variables specific to only that
...
@@ -55,6 +55,8 @@ While some configuration settings have local variables specific to only that
configuration, a set of functions are available globally for use in _any string_
configuration, a set of functions are available globally for use in _any string_
in Packer templates. These are listed below for reference.
in Packer templates. These are listed below for reference.
*
`build_name`
- The name of the build being run.
*
`build_type`
- The type of the builder being used currently.
*
`isotime [FORMAT]`
- UTC time, which can be
[
formatted
](
http://golang.org/pkg/time/#example_Time_Format
)
.
*
`isotime [FORMAT]`
- UTC time, which can be
[
formatted
](
http://golang.org/pkg/time/#example_Time_Format
)
.
See more examples below.
See more examples below.
*
`lower`
- Lowercases the string.
*
`lower`
- Lowercases the string.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment