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

RSS

wordpress_lamp (2) Versions 1.0.0

Installs/Configures wordpress via lamp server

Berkshelf/Librarian
Policyfile
Knife
cookbook 'wordpress_lamp', '~> 1.0.0'
cookbook 'wordpress_lamp', '~> 1.0.0', :supermarket
knife cookbook site install wordpress_lamp
knife cookbook site download wordpress_lamp
README
Dependencies
Changelog
Quality

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.

Requirements

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

  • Chef 12.0 or later

Cookbooks

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

Attributes

wordpress_lamp::default

<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>test.com</tt></td> </tr> <tr>
<td><tt>['wordpress_lamp']['vhost']['server_alias']</tt></td> <td>String</td> <td>Apache server alias</td> <td><tt>www.test.com</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>
<tr>
<td><tt>['wordpress_lamp']['sql']['database_host']</tt></td> <td>String</td> <td>Database host</td> <td><tt>localhost</tt></td>
</tr> </table>

Usage

wordpress_lamp::default

Just include wordpress_lamp in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[wordpress_lamp::default]"
  ]
}

Testing

Test using kitchen

Contributing

  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 (jesse.whitham@gmail.com) License: GNU GPL v3

Heavily based from https://github.com/Kgirthofer/s3_wordpress and dependent on https://github.com/Kgirthofer/lamp

Dependent cookbooks

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.

1.0.0

  • [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.

Collaborator Number Metric
            

1.0.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

1.0.0 failed this metric

FC066: Ensure chef_version is set in metadata: wordpress_lamp/metadata.rb:1
FC069: Ensure standardized license defined in metadata: wordpress_lamp/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

1.0.0 failed this metric

wordpress_lamp does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.

No Binaries Metric
            

1.0.0 passed this metric

Publish Metric
            

1.0.0 passed this metric

Supported Platforms Metric
            

1.0.0 passed this metric

Testing File Metric
            

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number