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

An invalid path to the --logdest option is silently ignored

    XMLWordPrintable

    Details

    • Template:
      PUP Bug Template
    • Epic Link:
    • Team:
      Coremunity
    • Sprint:
      Platform Core KANBAN
    • Release Notes:
      Enhancement
    • Release Notes Summary:
      When the only log is a file, and Puppet fails to open that file, Puppet will exit with an error.

      Description

      When passing an invalid path to the --logdest option, I would expect at least a warning. Instead, it just silently ignores it:

      # puppet agent -t --logdest /no/such/path/foo.log
      Info: Using configured environment 'production'
      Info: Retrieving pluginfacts
      Info: Retrieving plugin
      Info: Loading facts
      Info: Caching catalog for master.puppetlabs.vm
      Info: Applying configuration version '1469935005'
      [...]
      Notice: Applied catalog in 33.58 seconds
      

        Attachments

          Activity

            People

            Assignee:
            kris.bosland Kris Bosland
            Reporter:
            ben.ford Ben Ford
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support