chocolatey-cookbook | Chef cookbook to install chocolatey | Infrastructure Automation library
kandi X-RAY | chocolatey-cookbook Summary
kandi X-RAY | chocolatey-cookbook Summary
Install Chocolatey with the default recipe.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of chocolatey-cookbook
chocolatey-cookbook Key Features
chocolatey-cookbook Examples and Code Snippets
Community Discussions
Trending Discussions on chocolatey-cookbook
QUESTION
My question is about Chef and Chocolatey…
I can see the cookbook here: https://github.com/chocolatey/chocolatey-cookbook
And I can see the resource here: https://docs.chef.io/resource_chocolatey_package.html
I just don’t understand the relation between the cookbook and the resource.. Are they both needed if I wanted to install and use Chocolatey on my nodes? (I have the latest versions of everything, I have a new environment)
Can someone tell me what’s the most efficient way to:
- Install Chocolatey
- Push packages using choco
I tried installed Notepad++ with the chocolatey_package resource, but I get this error: No candidate version available for notepadplusplus (I get the error even after manually installing Choco on my node)
Used syntax in the recipe:
...ANSWER
Answered 2018-Feb-06 at 18:08You can use either. We usually put things in a cookbook to start with, and then if there is a lot of user demand and the code is stabilized, we'll move it into Chef core.
The likely issue is that should be chocolatey_package 'notepadplusplus' do
without the array.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install chocolatey-cookbook
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page