Skip to content

['install_vars'] #140

@timcharlton

Description

@timcharlton

Cookbook version

2.0.1

Chef-client version

14.13.11

Platform Details

Windows Server 2016

Scenario:

Install Chocolatey from Artifactory repo instead of Chocolatey.org

Steps to Reproduce:

We are running the Chocolatey Cookbook using the following code:
node['chocolatey']['install_vars']['chocolateyDownloadUrl'] = "https://URL/TO/ARTIFACTORY/REPO"
include_recipe 'chocolatey::default'

Expected Result:

Expect the Chocolatey agent to be pulled from"https://URL/TO/ARTIFACTORY/REPO" and then installed.

Actual Result:

Instead, agent is being installed from Chocolatey.org. Syntax to add URL variable looks correct but doesn't seem to be getting used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions