website: doc upper and lower

This commit is contained in:
Mitchell Hashimoto 2014-09-05 16:17:59 -07:00
parent f03d57f966
commit c66b5dbb67
2 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,8 @@ FEATURES:
* **New Post-Processor: `docker-save`** - Save an image. This is similar to
export, but preserves the image hierarchy.
* **New Post-Processor: `docker-tag`** - Tag a created image.
* **New Template Functions: `upper`, `lower`** - See documentation for
more details.
* core: Plugins are automatically discovered if they're named properly.
Packer will look in the PWD and the directory with `packer` for
binaries named `packer-TYPE-NAME`.

View File

@ -53,10 +53,12 @@ While some configuration settings have local variables specific to only that
configuration, a set of functions are available globally for use in _any string_
in Packer templates. These are listed below for reference.
* `pwd` - The working directory while executing Packer.
* `isotime` - UTC time in RFC-3339 format.
* `lower` - Lowercases the string.
* `pwd` - The working directory while executing Packer.
* `timestamp` - The current Unix timestamp in UTC.
* `uuid` - Returns a random UUID.
* `upper` - Uppercases the string.
## Amazon Specific Functions