This cookbook installs the web components for Wordpress.
Nginx, PHP, PHP-FPM, and Wordpress,
It also contains a template for Nginx to run PHP-FPM.
- chef-nginx - To install Nginx.
- chef-php - To install PHP.
- chef-php-fpm - To install the PHP-FPM.
- yum-epel - To install some components needed on the server.
Each site will require a wordpress databag like the following:
{ "id": "vabig", "site_name": "blogs.vabig.com", "db_name": "vabigdb", "db_user": "vblogadmin", "db_password": "haiw39rdk" }
Supports Centos 6.X
Key | Type | Description | Default |
---|---|---|---|
['wordpress']['databag']['site'] | Boolean | what site databag to include | true |
Include chef-wordpress_support
in your node's run_list
:
{
"run_list": [
"recipe[chef-wordpress_support::default]"
]
}
Author:: Carl Eichhorn, Mike Ruxsaksriskul