Wordpress Plugins Charmers Wordpress Plugins

  • By Wordpress Plugins Charmers
Channel Version Revision Published Runs on
latest/stable 0 0 19 Mar 2021
Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
juju deploy wordpress-plugins-charmers-wordpress-plugins
Show information

Platform:

Ubuntu
18.04 16.04 14.04

Juju wordpress-plugin subordinate charm

Wordpress-plugin subordinate charm that will deploy a wordpress plugin. Optionally it can ensure required configuration options are set

How to deploy the charm

The charm interacts with the IS wordpress charm. Assuming you deployed the IS wordpress charm and have a copy of wordpress-plugin charm in charms/$distrocodename/wordpress-plugin relative to your current directory.

... then to perform a deployment execute the following steps:

juju deploy --repository=charms local:wordpress-plugin wordpress-plugin-openid
juju set wordpress-plugin-openid plugin_name=openid
juju set wordpress-plugin-openid code_uri=lp:~canonical-sysadmins/wordpress/wp-plugin-openid

# and
juju add-relation wordpress wordpress-plugin-openid

Wordpress options can be forced to certain values if plugins require them:

juju set wordpress-plugin-openid forced_options="openid_required_for_registration: 1"

Using the wordpress-plugin relation

The charm requires plugins_directory variable to be set in the relation data. Code will be deployed to the plugin_name subdirectory under plugins_directory