wordpress

contributions requested
Configure PHP-FPM and NGINX for Wordpress sites.

11,204 downloads

10,508 latest version

1.9 quality score

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 2.0.0 (latest)
  • 1.0.1
  • 1.0.0
released Feb 24th 2014

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'dcoxall-wordpress', '2.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add dcoxall-wordpress
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install dcoxall-wordpress --version 2.0.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

dcoxall/wordpress — version 2.0.0 Feb 24th 2014

Wordpress

A puppet module that installs all the requirements to get Wordpress installed and running but using NGINX and PHP-FPM instead of the more traditional Apache and mod_php solution.

What does it do?

This module does NOT install wordpress. It does however create an NGINX and PHP-FPM environment in which wordpress works. Based on the recommended set-up described on wordpress.org this module prepares the nginx configuration and php-fpm pool to correctly serve a wordpress installation.

Part of the setup also includes a MySQL installation with a database that can be used with the following details:

  • Username: wordpress
  • Password: wordpress
  • Host: localhost
  • Database: wordpress

These options can be overridden as shown below. The mysql user is given access to the database on a wildcard as well as localhost in the event you wish to connect externally.

Usage

include wordpress
# or
class { "wordpress": }

Customising

class { "wordpress":
  cache    => false,       # Static asset caching in NGINX (default: false)
  user     => 'wordpress', # DB User (default: wordpress)
  password => 'wordpress', # DB Pass (default: wordpress)
  database => 'wordpress', # DB Name (default: wordpress)
}

Contribute

Any contributions are welcome. There are no crazy requirements to contribute.

  1. Fork the project
  2. Make your changes
  3. Create a Pull Request