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

Chocolatey: Provide a method for passing credentials for the install code

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: chocolatey
    • Labels:
      None
    • Template:
    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info
      Module Version: 3.3.0
      Puppet Version: 2019.0.1
      OS Name/Version: Windows Server 201X

      As a user of Chocolatey and Artifactory, I would like to be able to pass a username and password from the Chocolatey module to Artifactory to authenticate and then directly download the chocolatey.nupkg file. Otherwise, I have to use puppet-archive, download it and store it locally somewhere.

      Desired Behavior: Ability to pass a username and password with the chocolatey class.  **

      Actual Behavior: Username and password are not allowed parameters according to the current documentation.  **

      For reference, I've included some sample code below:

       

      +++++

      class

      {'chocolatey':   chocolatey_download_url         => '[https://internalurl/to/chocolatey.nupkg]',   use_7zip                        => false,   choco_install_timeout_seconds   => 2700, }

      +++++

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            joel.weierman Joel Weierman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support