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

Add wait for lock released in package dpkg provider

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Modules
    • Labels:
    • Template:

      Description

      The puppet run will fail if another ``apt-get`` is running.

      Add a step checking whether the lock file ``/var/lib/dpkg/lock`` is locked by another ``apt-get`` or ``dpkg`` process, which in turn is done by momentarily trying to acquire the lock.

      It is also possible to parameter which defines timeout waiting for a lock.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            galanoff Kyrylo Galanov
            QA Contact:
            Eric Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified