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

Puppet silent about inability to acquire pidlock

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: PUP 3.4.0, PUP 3.6.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:
    • Epic Link:
    • Team:
      Coremunity

      Description

      The --verbose flag does tell the user that something has happened, but without it there isn't any indication. I would expect the error to always show up (even without verbose) and a non-zero exit status.

      root@debian-607-x64-vf503-nocm:~# puppet agent --verbose
      Error: Could not run: Could not create PID file: /var/run/puppet/agent.pid
      root@debian-607-x64-vf503-nocm:~# echo $?
      0
      root@debian-607-x64-vf503-nocm:~# puppet agent
      root@debian-607-x64-vf503-nocm:~# echo $?
      0
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              andy Andrew Parker
              QA Contact:
              Erik Dasher
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:

                Zendesk Support