Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-10403

Puppet parser --help is missing the --tasks flag

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: PUP 6.14.0
    • Fix Version/s: None
    • Component/s: UX
    • Template:
      PUP Bug Template
    • Team:
      Bolt
    • Method Found:
      Needs Assessment
    • QA Risk 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

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            nmaludy Nick Maludy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support