Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

chocolatey_config (1) Versions 1.0.0

Provides a chocolatey_config resource for managing Chocolatey sources.

Berkshelf
Policyfile
Knife
cookbook 'chocolatey_config', '~> 1.0.0'
cookbook 'chocolatey_config', '~> 1.0.0', :supermarket
knife cookbook site install chocolatey_config
knife cookbook site download chocolatey_config
README
Dependencies
Changelog
Quality 88%

chocolatey_config Cookbook

Cookbook Version

Provides a chocolatey_config resource for managing Chocolatey configs.

Requirements

Platforms

  • Windows 7
  • Windows Server 2008 R2
  • Windows 8, 8.1
  • Windows Server 2012 (R1, R2)
  • Windows Server 2016

Chef

  • Chef 13+

Resources

chocolatey_config

Actions

  • :set - Sets a Chocolatey config
  • :unset - Unsets a Chocolatey config

Properties

  • config_key - Name property. The name of the config.
  • value - the value to set (required for :set action)

Examples

Add a new config

chocolatey_config 'cacheLocation' do
  value 'c:\temp\choco'
end

Using a descriptive resource name and providing the config with config_key property

chocolatey_config 'Set the Chocolatey config path' do
  config_key 'cacheLocation'
  value 'c:\temp\choco'
end

Unset a config

chocolatey_config 'cacheLocation' do
  action :unset
end

License & Authors

Copyright 2018, Chef Software, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
`

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

chocolatey_config Cookbook CHANGELOG

This file is used to list changes made in each version of the chocolatey_config cookbook.

1.0.0 (2018-05-01)

  • Initial release

Collaborator Number Metric
            

1.0.0 passed this metric

Contributing File Metric
            

1.0.0 passed this metric

Foodcritic Metric
            

1.0.0 passed this metric

No Binaries Metric
            

1.0.0 passed this metric

Publish Metric
            

1.0.0 passed this metric

Supported Platforms Metric
            

1.0.0 passed this metric

Testing File Metric
            

1.0.0 passed this metric

Version Tag Metric
            

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number