Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

['install_vars'] #140

Open
timcharlton opened this issue Jun 7, 2019 · 2 comments
Open

['install_vars'] #140

timcharlton opened this issue Jun 7, 2019 · 2 comments

Comments

@timcharlton
Copy link

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.

@ferventcoder
Copy link
Contributor

I want to say it's likely there is something incorrect, but I'm not sure what you are installing - there is the chocolatey client, the chocolatey agent is a Windows service that is used in C4B (Chocolatey for Business) scenarios only. So I'm guessing you mean chocolatey client here.

@ferventcoder
Copy link
Contributor

Seeing that this is a bit older, were you able to resolve your issue or is it still active?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants