Merge pull request #7089 from aspectcapital/puppet-path-spaces

Document how to pass spaces in `puppet_bin_dir`
This commit is contained in:
Adrien Delorme 2018-12-10 12:58:31 +01:00 committed by GitHub
commit 9d32a75104
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -101,7 +101,8 @@ manifests you should use `manifest_file` instead.
- `puppet_bin_dir` (string) - Path to the Puppet binary. Ideally the program - `puppet_bin_dir` (string) - Path to the Puppet binary. Ideally the program
should be on the system (unix: `$PATH`, windows: `%PATH%`), but some should be on the system (unix: `$PATH`, windows: `%PATH%`), but some
builders (eg. Docker) do not run profile-setup scripts and therefore PATH builders (eg. Docker) do not run profile-setup scripts and therefore PATH
might be empty or minimal. might be empty or minimal. On Windows, spaces should be `^`-escaped, i.e.
`c:/program^ files/puppet^ labs/puppet/bin`.
- `staging_directory` (string) - Directory to where uploaded files will be - `staging_directory` (string) - Directory to where uploaded files will be
placed (unix: "/tmp/packer-puppet-masterless", windows: placed (unix: "/tmp/packer-puppet-masterless", windows:

View File

@ -81,7 +81,8 @@ listed below:
- `puppet_bin_dir` (string) - Path to the Puppet binary. Ideally the program - `puppet_bin_dir` (string) - Path to the Puppet binary. Ideally the program
should be on the system (unix: `$PATH`, windows: `%PATH%`), but some should be on the system (unix: `$PATH`, windows: `%PATH%`), but some
builders (eg. Docker) do not run profile-setup scripts and therefore PATH builders (eg. Docker) do not run profile-setup scripts and therefore PATH
might be empty or minimal. might be empty or minimal. On Windows, spaces should be `^`-escaped, i.e.
`c:/program^ files/puppet^ labs/puppet/bin`.
- `puppet_node` (string) - The name of the node. If this isn't set, the fully - `puppet_node` (string) - The name of the node. If this isn't set, the fully
qualified domain name will be used. qualified domain name will be used.