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

puppet-chocolatey : use package exit codes feature broken

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Done
    • None
    • Chocolatey 3.2.0
    • chocolatey
    • Windows 7 & 10, Puppet 5.0.0, puppet-chocolatey 3.0.0

    • Windows
    • 1
    • Windows 2019-02-13
    • Needs Assessment
    • Needs Assessment

    Description

      Basic Info
      Module Version: 3.0.0
      Puppet Version: 5.0.0
      OS Name/Version: Windows 7 & 10

      Desired Behavior: Chocolatey uses package exit codes.

      Actual Behavior: Chocolatey does not use package exit codes.

      With the "usepackageexitcodes" feature enabled, the chocolatey provider always adds the --ignore-package-exit-codes argument which "Overrides the default feature 'usePackageExitCodes' set to 'True'." according to the chocolatey documentation - therefore it is not possible to use the package exit codes, despite the feature being enabled.

      chocolateyfeature {'usepackageexitcodes':
        ensure => enabeld,
      }
      

      Attachments

        Activity

          People

            michael.lombardi Michael Lombardi
            dtw David Wood
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support