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

Add cChocoConfig Resource #20

Closed
ramit-rulz opened this issue May 4, 2016 · 7 comments · Fixed by #145
Closed

Add cChocoConfig Resource #20

ramit-rulz opened this issue May 4, 2016 · 7 comments · Fixed by #145

Comments

@ramit-rulz
Copy link

I have had some issues installing 32 bit Choco packages on 64 bit machines with SYSTEM user due to incorrect temp path resolution.
There should be a way to configure cacheLocation in cChocoInstaller using DSC. Choco introduced this in v0.9.9.9 with "choco config set cacheLocation fullPath"
https://github.com/chocolatey/choco/wiki/How-To-Change-Cache

@ferventcoder
Copy link
Member

TBH - you've always been able to change the cache since like early 0.9.9.x series. The config command just made it easier to do.

@ramit-rulz
Copy link
Author

Yes, you are right. So is there a way to define the cache location in cChocoInstaller DSC resource?

@ferventcoder
Copy link
Member

I am not sure. I'm guessing not yet.

@lawrencegripper
Copy link
Contributor

There isn't any provision for this in the cChocoInstaller. I'd be tempted to say this should be broken out into another Resource "cChocoConfiguration", for example. This can then be used to test, set and update the choco config independently of the installation, which would be a one time operation.

@ferventcoder
Copy link
Member

I think this would be best served by a cChocoConfig resource. I'm going to rename this to that

@ferventcoder ferventcoder changed the title [Enhancement] cChocoInstaller - Configure cacheLocation when installing Choco cChocoConfig Resource - Configure cacheLocation and other settings for Chocolatey Apr 18, 2017
@ferventcoder ferventcoder modified the milestone: 2.5.0 Apr 18, 2017
@Outek
Copy link

Outek commented Jul 27, 2018

Any news on this?
Is it possible to configure the cacheLocation?

@pauby
Copy link
Member

pauby commented Mar 6, 2019

@Outek Inside cChoco, not yet. This issue is up for grabs. In the meantime see the link posted above.

mkevenaar added a commit to mkevenaar/cChoco that referenced this issue Apr 27, 2020
This resource allows users to change Chocolatey Config
settings using an DSC resource.
mkevenaar added a commit to mkevenaar/cChoco that referenced this issue May 10, 2020
This resource allows users to change Chocolatey Config
settings using an DSC resource.
mkevenaar added a commit to mkevenaar/cChoco that referenced this issue May 28, 2020
This resource allows users to change Chocolatey Config
settings using an DSC resource.
pauby added a commit that referenced this issue Oct 20, 2020
@pauby pauby changed the title cChocoConfig Resource - Configure cacheLocation and other settings for Chocolatey Add cChocoConfig Resource Oct 20, 2020
pauby added a commit that referenced this issue Feb 9, 2021
* development:
  Update module versions for release
  (GH-151) Download install.ps1 to temp folder.
  (maint) Set pester to a max version of 4.10.1
  (GH-20) add cChocoConfig resource
  Adding comments and tests
  Add pull request template
  (doc) Add issue template configuration
  (doc) Remove invalid issue template
  (doc) Update issue templates
  throw if using prerelease with minimumversion
  quick fixes
  DSCResources/cChocoPackageInstall/cChocoPackageInstall.psm1
  adding support for specifying minimum version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants