Forge Home

wordpress_manager

Downloads, installs and manages wordpress using wp-cli

7,643 downloads

7,415 latest version

0.5 quality score

Version information

  • 0.1.2 (latest)
  • 0.1.1
  • 0.1.0
released Sep 27th 2017

Start using this module

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

Add this module to your Puppetfile:

mod 'iyappan-wordpress_manager', '0.1.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add iyappan-wordpress_manager
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install iyappan-wordpress_manager --version 0.1.2

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

iyappan/wordpress_manager — version 0.1.2 Sep 27th 2017

Managing Wordpress Through Puppet

Manifest:

class { 'wordpress_manager': }

Hiera:

To download and install wordpress:

wordpress_manager::wp::download::path: 'path to install' wordpress_manager::wp::download::version: 'xxx'

To update wordpress to specific version:

wordpress_manager::wp::update::path: 'Document root of wordpress' wordpress_manager::wp::update::version: 'xxx'

To install plugins:

wordpress_manager::plugins::install::resource_name: ['Plugin1','Plugin2'] wordpress_manager::plugins::install::path: 'Document root of wordpress'

To activate plugins:

wordpress_manager::plugins::activate::resource_name: ['Plugin1','Plugin2'] wordpress_manager::plugins::activate::path: 'Document root of wordpress'

To activate theme:

wordpress_manager::themes::activate::resource_name: 'theme_name' wordpress_manager::themes::activate::path: 'Document root of wordpress'