This module is used to manage Wordpress installations
wp binary from http://wp-cli.org/
salt.modules.wordpress.
activate
(name, path, user)Activate a wordpress plugin
Wordpress plugin name
path to wordpress install location
user to run the command as
CLI Example:
salt '*' wordpress.activate HyperDB /var/www/html apache
salt.modules.wordpress.
deactivate
(name, path, user)Deactivate a wordpress plugin
Wordpress plugin name
path to wordpress install location
user to run the command as
CLI Example:
salt '*' wordpress.deactivate HyperDB /var/www/html apache
salt.modules.wordpress.
install
(path, user, admin_user, admin_password, admin_email, title, url)Run the initial setup functions for a wordpress install
path to wordpress install location
user to run the command as
Username for the Administrative user for the wordpress install
Initial Password for the Administrative user for the wordpress install
Email for the Administrative user for the wordpress install
Title of the wordpress website for the wordpress install
Url for the wordpress install
CLI Example:
salt '*' wordpress.install /var/www/html apache dwallace password123 dwallace@example.com "Daniel's Awesome Blog" https://blog.dwallace.com
salt.modules.wordpress.
is_installed
(path, user=None)Check if wordpress is installed and setup
path to wordpress install location
user to run the command as
CLI Example:
salt '*' wordpress.is_installed /var/www/html apache