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

Select Status

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.

RSS

chef-server-ingredient (9) Versions 0.4.0

Manages Chef Server packages/add-ons, aka "ingredients"

Policyfile
Berkshelf
Knife
cookbook 'chef-server-ingredient', '= 0.4.0', :supermarket
cookbook 'chef-server-ingredient', '= 0.4.0'
knife supermarket install chef-server-ingredient
knife supermarket download chef-server-ingredient
README
Dependencies
Changelog
Quality 0%

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 the ctl reconfigure command for the package.

Properties

  • 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 method chef_server_ctl_command, but may need to be specified if something changes, like a new add-on is made available.
  • options: Options passed to the package resource used for installation.
  • master_token: Used for packagecloud private repositories.
  • repository: Name of the repository where the packages are located on packagecloud. Default chef/stable.
  • version: Package version, e.g., 12.0.0-rc.6-1. Do not use if specifying package_source. Default nil.
  • package_source: Full path to a location where the package is located. If present, this file is used for installing the package. Default nil.
  • timeout: The amount of time (in seconds) to wait to fetch the installer before timing out. Default: default timeout of the Chef package resource.

License and Author

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.4.0 (2015-06-11)

  • Add timeout attribute to chef_server_ingredient
  • Use declare_resource DSL method to select local package resource
  • Allow specifying the repository name for the packagecloud repo

v0.3.2 (2015-04-15)

  • adding proxy support for packagecloud

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.4.0 failed this metric

FC031: Cookbook without metadata file: /tmp/cook/dad79bae76fad34cd8d4b915/chef-server-ingredient/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/dad79bae76fad34cd8d4b915/chef-server-ingredient/metadata.rb:1