cookbook 'chef-dk', '= 0.3.2', :supermarket
chef-dk (13) Versions 0.3.2 Follow31
Installs/configures the Chef-DK
cookbook 'chef-dk', '= 0.3.2'
knife supermarket install chef-dk
knife supermarket download chef-dk
A cookbook for installing the Chef Development Kit.
A RHEL/CentOS/etc. 6, Ubuntu 12.04/13.10, or OS X 10.9.x node.
This cookbook consumes the dmg cookbook in order to support OS X installs.
This cookbook can be implemented either by calling its resource directly, or adding the recipe that wraps it to your run_list.
chef_dk resource to do a package install
Attributes are provided to allow overriding of the package version or URL the default recipe installs:
default['chef_dk']['version'] = 'latest' default['chef_dk']['package_url'] = nil
Wraps the fetching of the package file from S3 and the package installation into a single resource:
chef_dk '<A RESOURCE NAME>' do version '1.2.3-4' package_url 'http://here.is.the/package/url' action :install end
version- An optional version to install (default is
package_url- An optional override package URL (default is determined at run time based on the OS and desired version)
action- Action to perform (default is
:install, also supports
package_url cannot be used together
License & Authors
- Author: Jonathan Hartman email@example.com
Copyright 2014, Jonathan Hartman
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
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.
|dmg ~> 2.2|