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

Chocolatey - when placing a license into an existing choco install, version becomes malformed if extension is not installed

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • None
    • chocolatey
    • Hide

      Install Chocolatey in one run and set the license file down without the extension installed.

      Try to run Puppet setting a Chocolatey source. Note whether chocolateyversion fact returns properly.

      Show
      Install Chocolatey in one run and set the license file down without the extension installed. Try to run Puppet setting a Chocolatey source. Note whether chocolateyversion fact returns properly.
    • Modules
    • 2
    • Modules 2016-11-30

    Description

      Error

      Validation of Something[name] failed: Malformed version number 
      string Error when attempting to load chocolatey licensed assembly.
      

      Context

      • Chocolatey was previously installed.
      • The license file has been placed without the extension (licensed edition package) being installed.

      Details

      Any run of Puppet will cause an error when attempting to set chocolateyversion:

      Debug: Facter: fact "chocolateyversion" has resolved to "Error when attempting to load chocolatey licensed assembly. Ensure
       that chocolatey.licensed.dll exists at 
       'C:\ProgramData\chocolatey\extensions\chocolatey\chocolatey.licensed.dll'.
       Install with `choco install chocolatey.extension`.
       The error message itself may be helpful as well:
       The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
      0.10.3
      

      Workarounds

      The only workaround for this is manual intervention.

      Attachments

        Issue Links

          Activity

            People

              erick Erick Banks
              rob Rob Reynolds
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support