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

Add a timeout metaparameter

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:

      Description

      I recently encountered an issue where a rogue yum process had failed to finish and was holding open the rpm db lock. This was causing puppet to hang on the server, as the package resources could not obtain the lock and yum just loops forever trying to obtain it until manually interrupted (poor design on their part, but still, it is what it is). This got me to thinking, it would be helpful if we could set a timeout on individual resources, in case we have a resource that sometimes hangs for whatever reason. If the resource is unable to complete in the allotted time, puppet should give up on it and report an error for that resource.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              ardichoke Ryan DeShone
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support