diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f1797563..569d32ead 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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`. diff --git a/website/source/docs/templates/configuration-templates.html.markdown b/website/source/docs/templates/configuration-templates.html.markdown index f2c42c2fb..83add9a71 100644 --- a/website/source/docs/templates/configuration-templates.html.markdown +++ b/website/source/docs/templates/configuration-templates.html.markdown @@ -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