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

Create a configurable timeout for managed windows services

    XMLWordPrintable

Details

    • Hide

      The user has the ability to configure timeouts of startup/shutdown operations for services

      Show
      The user has the ability to configure timeouts of startup/shutdown operations for services
    • Platform OS
    • Platform OS Kanban
    • New Feature
    • Hide
      New service timeout parameter for Windows

      On Windows systems, you can now specify a `timeout` parameter that configures how long, in seconds, Puppet should wait when syncing service properties.

      For example:

      ```
      service { "service-name":
         enable => true,
         ensure => running,
         timeout => 45
      }
      ```
      Show
      New service timeout parameter for Windows On Windows systems, you can now specify a `timeout` parameter that configures how long, in seconds, Puppet should wait when syncing service properties. For example: ``` service { "service-name":    enable => true,    ensure => running,    timeout => 45 } ```
    • Needs Assessment

    Description

      User story - I, as a user, can configure how long I want puppet to wait before determining a windows service is 'unresponsive' to startup/shutdown and throws an error.

       

      After moving to FFI/Windows API calls, we should add a configurable timeout when waiting for pending statuses during shutdown/startup. 

       

      Currently the puppet API will leverage the wait hint returned from the windows API to determine if a service is taking too long to move out of a pending state. We need to give the user the ability to specify their own timeout for these periods for services the user knows might take long periods to transition. 

      Attachments

        Issue Links

          Activity

            People

              sean.mcdonald Sean McDonald
              sean.mcdonald Sean McDonald
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support