cookbook 'wordpress', '= 2.3.0'
wordpress
(25) Versions
2.3.0
-
Follow84
Installs/Configures WordPress
cookbook 'wordpress', '= 2.3.0', :supermarket
knife supermarket install wordpress
knife supermarket download wordpress
Description
The Chef WordPress cookbook installs and configures WordPress according to the instructions at http://codex.wordpress.org/Installing_WordPress.
Description
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).
Requirements
Platform
- Ubuntu 10.04, 12.04, 14.04
- RHEL/CentOS 5, 6
- Windows
Cookbooks
- mysql
- mysql-chef_gem
- php
- apache2
- iis
- windows
- openssl (uses library to generate secure passwords)
Attributes
WordPress
-
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).
Usage
Add the "wordpress" recipe to your node's run list or role, or include the recipe in another cookbook.
License and Author
- Author:: Barry Steinglass (barry@opscode.com)
- Author:: Joshua Timberman (joshua@opscode.com)
- Author:: Seth Chisamore (schisamo@opscode.com)
- Author:: Lucas Hansen (lucash@opscode.com)
- Author:: Julian C. Dunn (jdunn@getchef.com)
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
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.
Dependent cookbooks
php >= 0.0.0 |
openssl >= 0.0.0 |
apache2 >= 2.0.0 |
database >= 1.6.0 |
mysql >= 5.0.0 |
mysql-chef_gem >= 0.0.2 |
build-essential >= 0.0.0 |
iis >= 1.6.2 |
tar >= 0.3.1 |
nginx ~> 2.7.4 |
php-fpm ~> 0.6.10 |
Contingent cookbooks
CHANGELOG
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/
v1.3.0
Bug
- COOK-3478 - Windows support for Wordpress
v1.2.0
New Feature
- COOK-3321 - Add languages recipe
Improvement
- COOK-3311 - Remove legacy Test Kitchen, Add Travis CI
v1.1.0
- 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
v1.0.0:
- [COOK-1127] - update defaults to latest version
- [COOK-1222] - support installing "latest" version
- [COOK-1271] - Wordpress cookbook generates new password on every chef run
v0.8.8
- [COOK-826] - recipe doesn't quote password string
v0.8.6
- [COOK-534] - allow server_aliases to overridden by an attribute
- [COOK-799] - fixed disables .htaccess breaking permalink feature
- [COOK-820] - guard node.save with check for chef-solo in our cookbooks
v0.8.4
- [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)
v0.8.2
- [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 README.md