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_lamp (2) Versions 0.1.0

Installs/Configures wordpress via lamp server

cookbook 'wordpress_lamp', '= 0.1.0'
cookbook 'wordpress_lamp', '= 0.1.0', :supermarket
knife cookbook site install wordpress_lamp
knife cookbook site download wordpress_lamp
Quality 100%

wordpress_lamp Cookbook

This cookbook is for creating a usable wordpress with lamp install on your host.

It will not handle deployment of the application specific code it is setup for capistrano deploys.


You will need to create encrypted data bags on the server for the mysql password and wordpress keys and salts.

  • Create a data bag "mysql" with item "password", store your root password there with the json flag "mysql_password"

  • Create a data bag "wordpress" with item "salts", store your salts and keys there under these json flags: "auth_key" "secure_auth_key" "logged_in_key" "nonce_key" "auth_salt" "secure_auth_salt" "logged_in_salt" "nonce_salt"

Supported Platforms

  • Amazon Linux


  • Chef 12.0 or later


  • lamp - wordpress_lamp uses lamp for that part of the install



<table> <tr> <th>Key</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> <tr> <td><tt>['wordpress_lamp']['site']</tt></td> <td>String</td> <td>Name of site</td> <td><tt>test</tt></td> </tr> <tr> <td><tt>['wordpress_lamp']['vhost']['server_admin']</tt></td> <td>String</td> <td>Name of server admin for vhost</td> <td><tt>root@localhost</tt></td> </tr> <tr>
<td><tt>['wordpress_lamp']['vhost']['server_name']</tt></td> <td>String</td> <td>Apache server name</td> <td><tt></tt></td> </tr> <tr>
<td><tt>['wordpress_lamp']['vhost']['server_alias']</tt></td> <td>String</td> <td>Apache server alias</td> <td><tt></tt></td> </tr> <tr>
<td><tt>['wordpress_lamp']['vhost']['port']</tt></td> <td>Int</td> <td>What port to run Apache server on</td> <td><tt>80</tt></td> </tr> <tr>
<td><tt>['wordpress_lamp']['sql']['import_sql']</tt></td> <td>Boolean</td> <td>Whether to import sql from dump</td> <td><tt>true</tt></td> </tr> <tr>
<td><tt>['wordpress_lamp']['sql']['database']</tt></td> <td>String</td> <td>Database Name</td> <td><tt>test_db</tt></td> </tr>
<td><tt>['wordpress_lamp']['sql']['database_host']</tt></td> <td>String</td> <td>Database host</td> <td><tt>localhost</tt></td>
</tr> </table>



Just include wordpress_lamp in your node's run_list:

  "run_list": [


Test using kitchen


  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: Jesse Whitham ( License: GNU GPL v3

Heavily based from and dependent on

Dependent cookbooks

aws >= 0.0.0
lamp >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

wordpress_lamp CHANGELOG

This file is used to list changes made in each version of the wordpress_lamp cookbook.


  • [Jesse Whitham] - Initial release of wordpress_lamp

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Foodcritic Metric

0.1.0 passed this metric