Details
-
Bug
-
Status: Accepted
-
Normal
-
Resolution: Unresolved
-
PUP 6.14.0
-
None
-
Bolt
-
Needs Assessment
-
Needs Assessment
Description
Puppet Version: 6.14.0
Puppet Server Version: N/A
OS Name/Version: CentOS 7.7
When running `puppet parser validate path/to/bolt/plan.pp` it failed until i passed in `–tasks`, which was not present in the `–help` output of `puppet --help` or `puppet parser --help` or `puppet parser validate --help`.
Desired Behavior:
The `–tasks` parameter is shown when we pass in `--help`.
Actual Behavior:
$ puppet parser --help
|
USAGE: puppet parser <action> Interact directly with the parser.OPTIONS:
|
--render-as FORMAT - The rendering format to use.
|
--verbose - Whether to log verbosely.
|
--debug - Whether to log debug information.ACTIONS:
|
dump Outputs a dump of the internal parse tree for debugging |
validate Validate the syntax of one or more Puppet manifests.See 'puppet help parser' or 'man puppet-parser' for full help. |
|
$ puppet parser validate --help
|
USAGE: puppet parser validate [<manifest>] [<manifest> ...]This action validates Puppet DSL syntax without compiling a catalog or
|
syncing any resources. If no manifest files are provided, it will
|
validate the default site manifest.RETURNS: Nothing, or the first syntax error encountered.OPTIONS: |
--render-as FORMAT - The rendering format to use.
|
--verbose - Whether to log verbosely.
|
--debug - Whether to log debug information.See 'puppet help parser' or 'man puppet-parser' for full help. |
Attachments
Issue Links
- relates to
-
PUP-11347 `puppet parser validate` ignores plans
-
- Accepted
-