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

chocolatey : version sometimes detected as '0'

    XMLWordPrintable

Details

    • Needs Assessment

    Description

      Sometimes a Puppet run fails with the following error:

      Failed to apply catalog: Validation of Chocolateysource[chocolatey] failed: Chocolatey version must be '0.9.9.0' to manage configuration values with Puppet. Detected '0' as your version. Please upgrade Chocolatey to use this resource.

      The next Puppet run the error is gone. Chocolatey version 0.10.3 is installed.

      Desired Behavior:

      choco.exe -v should always return the version.

      Actual Behavior:

      Eventviewer shows this at the time of failed puppet run:
      Application: choco.exe
      Framework Version: v4.0.30319
      Description: The process was terminated due to an unhandled exception.
      Exception Info: System.ComponentModel.Win32Exception
      Stack:
      at shim.ShimProgram.Main(System.String[])

      Attachments

        Issue Links

          Activity

            People

              glenn.sarti Glenn Sarti
              gwelter Gerben Welter
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support