Michael Schurter
73425f6d85
Update template docs to mention json encoding newlines
2017-06-02 15:08:08 -07:00
Seth Vargo
df31b83468
Cleanup links to limit redirects
2017-05-30 20:25:11 -04:00
Michael Schurter
dd51aa1cb9
Merge pull request #2654 from hashicorp/f-env-consul
...
Add envconsul-like support and refactor environment handling
2017-05-30 14:40:14 -07:00
Michael Schurter
2e57f39915
Minor wording updates
2017-05-24 13:55:21 -07:00
Alex Dadgar
541241acc3
Update template.html.md
2017-05-24 09:54:22 -07:00
Michael Schurter
bf0be17ddd
Document env templates
2017-05-23 17:25:21 -07:00
Alex Dadgar
b2f692ff42
better change_mode explanation for templates
2017-05-03 12:40:27 -07:00
Alex Dadgar
23562d77c9
Access Node Meta and Attrs in template
...
This PR allows accessing the Node's attributes and metadata as in a
template.
```
template {
data = "{{ env \"attr.unique.network.ip-address\" }}"
destination = "local/out"
}
```
2017-03-27 15:15:33 -07:00
Christian Winther
b12323f08c
Fix #2445
...
Close #2445 - typo in docs
2017-03-14 10:12:48 +01:00
Alex Dadgar
b49fceb491
rebase
2017-02-20 16:43:28 -08:00
Alex Dadgar
1a960ee5cd
Grammar fix
2017-02-02 11:28:04 -08:00
Alex Dadgar
6b7efa1ba6
Template destination file permissions.
...
This PR allows setting the file permissions of the rendered template.
2017-01-31 20:10:01 -08:00
Alex Dadgar
7e5679c321
alphabetical
2017-01-25 21:27:44 -08:00
Alex Dadgar
a1fef22a04
Update template json docs
2017-01-24 09:12:42 -08:00
Michael Schurter
a1f0404a45
Try to use more useful example env vars
2017-01-23 17:02:23 -08:00
Michael Schurter
d7c6ff58dd
Mention nomad's runtime environment being available now
2017-01-23 15:54:56 -08:00
Michael Schurter
a24f739c08
Add example of env vars in templates
2017-01-23 15:50:38 -08:00
Bastiaan Bakker
68a8396d9b
s/Vault token/rendered template/
2016-11-14 21:59:42 +01:00
Alex Dadgar
46893c7558
Merge pull request #1921 from hashicorp/f-abs-templ
...
Allow absolute paths for template sources
2016-11-07 12:28:49 -08:00
Seth Vargo
4a1fa67f26
Separate agent configuration into its own pages
...
I apologize in advance for the rather long PR, but unfortunately there
is not an easy way to break this up into smaller chunks. This separates
the agent configuration into smaller, more consumable pieces just like
the job specification.
2016-11-02 18:30:00 -04:00
Alex Dadgar
2a5ac5e7ee
Allow absolute paths for template sources
2016-11-02 13:04:47 -07:00
Jussi Kalliokoski
6c357343d6
Fixed a grammar mistake in template docs.
2016-11-01 16:17:21 +02:00
Seth Vargo
c13a9de213
Specify restart policy is not the same as restart behavior
2016-10-31 16:53:18 -04:00
Seth Vargo
291c247183
Add multiline string template example
2016-10-31 16:53:17 -04:00
Seth Vargo
26526d8ce7
Fix multiline
2016-10-31 16:53:17 -04:00
Seth Vargo
e3be0e6509
Clarify templates must pre-exist and cannot come from the container
2016-10-31 16:52:57 -04:00
Seth Vargo
c6603cddee
Add template example
2016-10-31 16:52:55 -04:00