Commit 4274d1fc authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

website: use the comparison operators in Puppet docs

parent 895d87d9
...@@ -86,8 +86,8 @@ for readability) to execute Puppet: ...@@ -86,8 +86,8 @@ for readability) to execute Puppet:
{{.FacterVars}}{{if .Sudo}} sudo -E {{end}}puppet apply \ {{.FacterVars}}{{if .Sudo}} sudo -E {{end}}puppet apply \
--verbose \ --verbose \
--modulepath='{{.ModulePath}}' \ --modulepath='{{.ModulePath}}' \
{{if .HasHieraConfigPath}}--hiera_config='{{.HieraConfigPath}}' {{end}} \ {{if .HieraConfigPath ne ""}}--hiera_config='{{.HieraConfigPath}}' {{end}} \
{{if .HasManifestDir}}--manifestdir='{{.ManifestDir}}' {{end}} \ {{if .ManifestDir ne ""}}--manifestdir='{{.ManifestDir}}' {{end}} \
{{.ManifestFile}} {{.ManifestFile}}
``` ```
...@@ -97,7 +97,6 @@ can contain various template variables, defined below: ...@@ -97,7 +97,6 @@ can contain various template variables, defined below:
* `FacterVars` - Shell-friendly string of environmental variables used * `FacterVars` - Shell-friendly string of environmental variables used
to set custom facts configured for this provisioner. to set custom facts configured for this provisioner.
* `HasHieraConfigPath` - Boolean true if there is a hiera config path set.
* `HieraConfigPath` - The path to a hiera configuration file. * `HieraConfigPath` - The path to a hiera configuration file.
* `ManifestFile` - The path on the remote machine to the manifest file * `ManifestFile` - The path on the remote machine to the manifest file
for Puppet to use. for Puppet to use.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment