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

Puppet sends warnings and errors to stdout

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Incomplete
    • Affects Version/s: PUP 3.3.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      Coremunity

      Description

      When I run
      <pre>
      puppetmasterd --compile myclient.example.net >myclient.yaml
      </pre>
      then the output file contains
      <pre>
      ESC[0;36mnotice: Compiled catalog for myclient.example.net in 40.23 secondsESC[0m
      {"data":{"edges":[... (one very long line of data) ...
      </pre>

      The "notice:" line should have been sent to stderr, not to stdout, so that it does not get mixed in with the YAML data.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              redmine.exporter redmine.exporter
              QA Contact:
              Kurt Wall
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support