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


wordpress (25) Versions 2.3.0

Installs/Configures WordPress

cookbook 'wordpress', '= 2.3.0'
cookbook 'wordpress', '= 2.3.0', :supermarket
knife supermarket install wordpress
knife supermarket download wordpress
Quality -%

Build Status Dependency Status


The Chef WordPress cookbook installs and configures WordPress according to the instructions at


This cookbook does not set up the WordPress blog. You will need to do this manually by going to http://hostname/wp-admin/install.php (this URL may be different if you change the attribute values).



  • Ubuntu 10.04, 12.04, 14.04
  • RHEL/CentOS 5, 6
  • Windows


  • mysql
  • mysql-chef_gem
  • php
  • apache2
  • iis
  • windows
  • openssl (uses library to generate secure passwords)



  • node['wordpress']['version'] - Version of WordPress to download. Use 'latest' to download most recent version.
  • node['wordpress']['parent_dir'] - Parent directory to where WordPress will be extracted. (Windows Only)
  • node['wordpress']['dir'] - Location to place WordPress files.
  • node['wordpress']['db']['name'] - Name of the WordPress MySQL database.
  • node['wordpress']['db']['host'] - Host of the WordPress MySQL database.
  • node['wordpress']['db']['user'] - Name of the WordPress MySQL user.
  • node['wordpress']['db']['pass'] - Password of the WordPress MySQL user. By default, generated using openssl cookbook.
  • node['wordpress']['db']['prefix'] - Prefix of all MySQL tables created by WordPress.
  • node['wordpress']['db']['charset'] - Character set of the WordPress MySQL database tables. Defaults to 'utf8'.
  • node['wordpress']['db']['collate'] - Collation of the WordPress MySQL database tables.
  • node['wordpress']['allow_multisite'] - Enable multisite features (default: false).


Add the "wordpress" recipe to your node's run list or role, or include the recipe in another cookbook.

License and Author

Copyright:: 2010-2013, 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

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.


v2.1.5 (2014-06-28)

  • Recipe added to support installation with nginx

v2.1.2 (2014-04-03)

  • Fixes issue where mysql::ruby recipe was removed in v5 of community cookbook

v2.1.0 (2014-02-27)

[COOK-4354] s/Wordpress/WordPress/g in docs [COOK-4356] Gets WordPress to be extracted to the proper directory [COOK-4191] WordPress table_prefix not configured when node['wordpress']['db']['prefix'] is set [COOK-4192] Add attribute to control WordPress multisite features [COOK-4366] apache2 port parameter

v2.0.0 (2014-02-27)

[COOK-4180] leverage the database cookbook

v1.3.2 (2014-01-23)

  • [COOK-4248] - use "no_managed_code" when setting up WordPress Pool on Windows
  • [COOK-4170] - Wordpress tarball contains a wordpress subdirectory, causing "extract-wordpress" to execute every run and the WP URL to be http://hostname/wordpress/




New Feature


  • COOK-3311 - Remove legacy Test Kitchen, Add Travis CI


  • Added Test Kitchen 1.0

Bug Fixes: - [COOK-1393]: wordpress recipe should use mysql::ruby to ensure ruby extension is installed - [COOK-2984]: wordpress cookbook has foodcritic failures

Improvements: - [COOK-2661]: Allow downloads from other repos for wordpress install


  • [COOK-1127] - update defaults to latest version
  • [COOK-1222] - support installing "latest" version
  • [COOK-1271] - Wordpress cookbook generates new password on every chef run


  • [COOK-826] - recipe doesn't quote password string


  • [COOK-534] - allow server_aliases to overridden by an attribute
  • [COOK-799] - fixed disables .htaccess breaking permalink feature
  • [COOK-820] - guard with check for chef-solo in our cookbooks


  • [COOK-406] - wp-config.php.erb has wrong CRLF encoding
  • Dropping explicit support for Red Hat platforms due to issues in php and mysql cookbooks (COOK-603, COOK-672, COOK-816, COOK-679)


  • [COOK-435] Don't set the mysql root user password in wordpress cookbook
  • [COOK-535] - recursively create the directory
  • RHEL/CentOS/Fedora support (yeah!)
  • cleaned up node attribute keys
  • cleaned up

No quality metric results found