Skip to content

brint/wordpress-cookbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Sean OMeara
Jan 24, 2014
846a790 · Jan 24, 2014
Dec 21, 2013
Dec 21, 2013
Jan 24, 2014
Dec 21, 2013
Sep 5, 2013
May 19, 2013
Sep 5, 2013
Sep 5, 2013
Sep 5, 2013
Jan 24, 2014
Sep 5, 2013
Sep 5, 2013
Feb 28, 2012
Dec 21, 2013
Sep 5, 2013
Jan 24, 2014

Repository files navigation

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
  • RHEL/CentOS
  • Windows

Cookbooks

  • mysql
  • 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 installed.
  • 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.

Usage

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

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.