Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-3657

Agent Upgrade - Use system timeout.exe instead of cygwin

    XMLWordPrintable

    Details

    • Template:
    • Acceptance Criteria:
      Hide

      The timeout command actually waits a period of time
      The system native timeout.exe is called instead of a non-deterministic version

      Show
      The timeout command actually waits a period of time The system native timeout.exe is called instead of a non-deterministic version
    • Story Points:
      1
    • Sprint:
      Windows 2016-08-10

      Description

      Currently the puppet_agent modules uses the command "timeout" in 'templates/install_puppet.bat.erb' However this is ambiguous because timeout exists in the Windows\system32 and in the cygwin binaries. This causes timeout.exe to fail with the following in the logs;

      C:\cygwin64\home\Administrator>timeout /t 5 /nobreak  1>NUL 
      timeout: invalid time interval ‘/t’
      Try 'timeout --help' for more information.
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              glenn.sarti Glenn Sarti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support