GithubHelp home page GithubHelp logo

isabella232 / chocolatey_source Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chef-boneyard/chocolatey_source

0.0 0.0 0.0 19 KB

A cookbook for managing chocolatey sources

License: Apache License 2.0

Ruby 100.00%

chocolatey_source's Introduction

chocolatey_source Cookbook

Cookbook Version

Provides a chocolatey_source resource for managing Chocolatey sources.

Deprecation

This resource shipped in Chef 14.3 and as such this cookbook is no longer maintained. It will continue to function for users of Chef 13.0 - 14.2, but there will be no updates made.


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_source

Actions

  • :add - Add a new Chocolatey source
  • :remove - Remove an existing Chocolatey source

Properties

  • source_name - Name property. The name of the source.
  • source - the path to the source (filesystem or URL)
  • bypass_proxy - should the system proxy be bypassed for this source (default: false)
  • priority - the priority level for the source (default: 0)

Examples

Add a new source

chocolatey_source 'my_corp_source' do
  source 'http://mycorp.dmz/choco_path/'
end

Using a descriptive resource name and providing the source with source_name property

chocolatey_source 'Add my_corp Chocolatey Source' do
  source_name 'my_corp_source'
  source 'http://mycorp.dmz/choco_path/'
end

Removing a source

chocolatey_source 'my_corp_source' do
  action :remove
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.
`

chocolatey_source's People

Contributors

tas50 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.