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

Classification incorrect on first run windows - Improvement

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: chocolatey
    • Labels:
    • Template:
    • CS Priority:
      Reviewed
    • Zendesk Ticket IDs:
      39622
    • Zendesk Ticket Count:
      1
    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info
      Module Version: Version 5.0.2 ** 
      Puppet Version: 2019.5
      OS Name/Version: Server 2016

      Describe your issue in as much detail as possible...

      What's strange about this is the chocolatey module v5.0.2 should set a default via the facter fact
      https://github.com/puppetlabs/puppetlabs-chocolatey/blob/v5.0.0/manifests/params.pp
      which it appears to be failing to do on the first run? 

      I worked around this in the console by adding a configuration option in data to see chocolatey class parameter choco_install_location set to "C:\\ProgramData
      chocolatey"

      It then ran ok on the first run. This dev setup is 2019.5

       

       

      From Support :

      Tested this the module on both 2019.2 and 2019.5 and I am unable to reproduce the issue with choco_install_location on Windows Server 2016.

      By configuring this in the console you are overwriting anywhere other place this parameter may be declared which would explain why it started working. You can look under /etc/puppetlabs/code/environments/wineng_production/modules/ to see if you have choco_install_location => '' defined anywhere.

      I am not seeing any issues with the module in my environment.

       

      From the customer and the FR requirement:

      I've done it as a workaround. So we never declare this we take the module default which comes from the fact, it would seem a better defensive coding option to make sure it got the default value rather that presuming the fact would always return?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              adrian.iurca Adrian Iurca
              Reporter:
              gareth.mcgrillan Gareth McGrillan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support