cookbook 'chef-server-ingredient', '= 0.3.1'
The chef-server-ingredient cookbook has been deprecated
Author provided reason for deprecation:
The chef-server-ingredient cookbook has been deprecated and is no longer being maintained by its authors. Use of the chef-server-ingredient cookbook is no longer recommended.
You may find that the chef-ingredient cookbook is a suitable alternative.
chef-server-ingredient (9) Versions 0.3.1 Follow3
Manages Chef Server packages/add-ons, aka "ingredients"
cookbook 'chef-server-ingredient', '= 0.3.1', :supermarket
knife supermarket install chef-server-ingredient
knife supermarket download chef-server-ingredient
chef-server-ingredient Cookbook
This cookbook is used by CHEF in Hosted Chef to manage Chef Server and
Chef Server add-on component installation and reconfiguration. It
provides no useful recipes. Instead, wrapper cookbooks should be
created using the resource that this cookbook contains.
As of initial release, the cookbook borrows from, but does not use
Packagecloud's cookbook to set up the
repository where we publish Chef Server packages.
Requirements
- packagecloud
Platform
- Ubuntu 10.04, 12.04, 14.04
- CentOS 6
Resources
chef_server_ingredient
A "chef server ingredient" is the core package itself, or any add-on
component published by CHEF. This resource manages the installation
and running the ctl reconfigure
of individual packages.
Actions
-
install
- (default) Configures the packagecloud apt repository and installs the specified package.
-
uninstall
- Uninstalls the specified package. -
remove
- Alias for uninstall -
reconfigure
- Performs thectl reconfigure
command for the package.
Attributes
-
package_name
: (name attribute) The name of the package. Should correspond to the published package names (chef-server-core, opscode-manage, etc).
-
ctl_command
: The "ctl" command, e.g.,chef-server-ctl
. This should be automatically detected by the library helper methodchef_server_ctl_command
, but may need to be specified if something changes, like a new add-on is made available.
-
options
: Options passed to thepackage
resource used for installation.
-
master_token
: Used for packagecloud private repositories. -
repository
: Name of the repository where the packages are located on packagecloud. Defaultchef/stable
.
-
version
: Package version, e.g.,12.0.0-rc.6-1
. Do not use if specifyingpackage_source
. Defaultnil
.
-
package_source
: Full path to a location where the package is located. If present, this file is used for installing the package. Defaultnil
.
License and Author
- Author: Joshua Timberman joshua@chef.io
- Copyright (C) 2014-2015, Chef Software Inc. legal@chef.io
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.
chef-server-ingredients CHANGELOG
v0.3.1 (2015-04-09)
- Various refactoring and cleanup
v0.3.0
- Add ctl command for supermarket
v0.2.0
- Add reconfigure property to ingredient resource
v0.1.0
- Release this cookbook to Supermarket
v0.0.2
- #4: define the installed attribute
- #1, #2, use packagecloud cookbook
v0.0.1
- Initial release
Foodcritic Metric
0.3.1 failed this metric
FC031: Cookbook without metadata file: /tmp/cook/b1d41abd8ba0ada3c1164cab/chef-server-ingredient/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/b1d41abd8ba0ada3c1164cab/chef-server-ingredient/metadata.rb:1
0.3.1 failed this metric
FC045: Consider setting cookbook name in metadata: /tmp/cook/b1d41abd8ba0ada3c1164cab/chef-server-ingredient/metadata.rb:1