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
60633dd7
Commit
60633dd7
authored
Oct 22, 2014
by
Seth Vargo
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1609 from nchammas/patch-1
Portability and explicitness
parents
6ca0a2b3
437b1bf1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
website/source/docs/templates/user-variables.html.markdown
website/source/docs/templates/user-variables.html.markdown
+2
-2
No files found.
website/source/docs/templates/user-variables.html.markdown
View file @
60633dd7
...
...
@@ -9,7 +9,7 @@ User variables allow your templates to be further configured with variables
from the command-line, environmental variables, or files. This lets you
parameterize your templates so that you can keep secret tokens,
environment-specific data, and other types of information out of your
templates. This maximizes the portab
l
ility and shareability of the template.
templates. This maximizes the portability and shareability of the template.
Using user variables expects you know how
[
configuration templates
](
/docs/templates/configuration-templates.html
)
work.
...
...
@@ -20,7 +20,7 @@ page first.
User variables must first be defined in a
`variables`
section within your
template. Even if you want a variable to default to an empty string, it
must be defined. This explici
vity
makes it easy for newcomers to your
must be defined. This explici
tness
makes it easy for newcomers to your
template to understand what can be modified using variables in your template.
The
`variables`
section is a simple key/value mapping of the variable
...
...
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