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.
- Ubuntu 10.04, 12.04, 14.04
- CentOS 6
- packagecloud
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.
install
: (default) Configures the packagecloud apt repository and installs the specified package.uninstall
: Uninstalls the specified package.remove
: Alias for uninstallreconfigure
: Performs thectl reconfigure
command for the package.
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
. Defaultnil
.
-
Author: Joshua Timberman [email protected]
-
Copyright (C) 2014-2015, Chef Software Inc. [email protected]
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.