Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 953 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 953 Bytes

wordpress_manager

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'