|
Validated using puppet-agent at sha 740f20a containing puppet at sha 33b71c0 on Debian 8 amd64.
Documentation updated
puppet lookup --help now contains the corrected reference to the --knock-out-prefix option.
root@eps2wgi7em7whbb:~# puppet lookup --help
|
|
puppet-lookup(8) -- Data in modules lookup function
|
========
|
|
SYNOPSIS
|
--------
|
The lookup command is used for debugging and testing a given data
|
configuration. For a given data key, lookup will produce either a
|
value or an explanation of how that value was obtained on the standard
|
output stream with the specified rendering format. Lookup is designed
|
to be run on a puppet master or a node in a masterless setup.
|
USAGE
|
-----
|
puppet lookup [--help] [--type <TYPESTRING>] [--merge unique|hash|deep]
|
[--knock-out-prefix <PREFIX-STRING>] [--sort-merged-arrays]
|
...
|
* --knock-out-prefix <PREFIX-STRING>
|
Can be used with the 'deep' merge strategy. Specify string value to signify
|
prefix which deletes elements from existing element.
|
...
|
References to the --unpack-arrays option are also no longer present in the help output.
Command with options succeeds
root@eps2wgi7em7whbb:~# puppet lookup --hiera_config hiera.yaml --merge deep --knock-out-prefix "--" --sort-merge-arrays --explain-options classification --compile --render-as yaml
|
---
|
:branches:
|
- :branches:
|
- :key: lookup_options
|
:event: :not_found
|
:type: :global
|
:name: :hiera
|
- :key: lookup_options
|
:event: :not_found
|
:type: :data_provider
|
:name: EnvironmentDataProvider
|
:type: :merge
|
:merge: :hash
|
- :branches:
|
- :key: classification
|
:event: :not_found
|
:type: :global
|
:name: :hiera
|
- :key: classification
|
:event: :not_found
|
:type: :data_provider
|
:name: EnvironmentDataProvider
|
:type: :merge
|
:merge: :deep
|
:options:
|
sort_merge_arrays: true
|
merge_hash_arrays: false
|
knockout_prefix: "--"
|
|