Canonical Sysadmins Wordpress Services

  • By The Canonical Sysadmins
Channel Revision Published Runs on
latest/stable 2 18 Mar 2021
Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
latest/edge 0 18 Mar 2021
Ubuntu 14.04
juju deploy canonical-sysadmins-wordpress-services
Show information

Platform:

Ubuntu
18.04 16.04 14.04

Learn about configurations >

  • additional_hostnames | string

    Comma separated list of additional hostnames for the blog

  • akismet_key | string

    Akismet key. If empty akismet will not be automatically enabled

  • blog_hostname | string

    Default: myblog.example.com

    Blog hostname

  • code_location | string

    Default: file:sourcecode/wordpress.tgz

    Location of wordpress code

  • initial_settings | string

    Optional, YAML formatted, wordpress configuration. It is used only during initial deployment. Changing it at later stage has no effect. If set to non empty string required keys are: user_name: admin_username admin_email: name@example.com Optionally you can also provide weblog_title: Blog title # empty by default admin_password: <secret> # autogenerated if not set blog_public: False # by default blogs are public If admin_password is not provided it will be automatically generated and stored on wordpress unit in the charm directory

  • install_path | string

    Default: /srv/wordpress

    Location where wordpress code will be installed

  • nagios_check_string | string

    Default: Proudly powered by WordPress

    If nrpe-external-master relation is established this value will be used by the nagios check to ensure wordpress pages are generated correctly. If this option is set to empty string (not recommended) the check will only look for HTTP 200 status code

  • nagios_context | string

    Default: juju

    Used by the nrpe-external-master subordinate charm. A string that will be prepended to instance name to set the host name in nagios. So for instance the hostname would be something like: juju-myservice-0 If you're running multiple environments with the same services in them this allows you to differentiate between them.

  • nagios_servicegroups | string

    A comma-separated list of nagios servicegroups. If left empty, the nagios_context will be used as the servicegroup

  • outbound_http_proxy | string

    Optional URL specifying a "forward" proxy to allow wordpress and its plugins access to the Web. As an example: outbound_http_proxy: http://user:pass@squid.example.com:3128/

  • port_number | int

    Default: 8080

    Port number passed to apache2 subordinate charm

  • redirects | string

    Optional YAML formatted list of redirects that will be added to apache vhost. For example setting this optino to: [{"match": "(.*)\.gif$", "target": "http://example.com$1.jpg";}, {"match": "/old", "target": "http://example.com/new/";, "type": "permanent"}] Will result in the following configuration stanzas if apache2-subordinate is used: RedirectMatch (.*)\.gif$ http://example.com$1.jpg RedirectMatch permanent /old http://example.com/new

  • ssl_enabled | boolean

    Default: True

    Controls whether we should request SSL vhost to be configured

  • ssl_port_number | int

    Default: 443

    Port number passed to apache2 subordinate charm for SSL vhost Not used if ssl_enabled is set to False

  • vhost_options | string

    Optional YAML formatted list of additional virtual host config directives. For example: [{"Header": "append Cache-Control \"proxy-revalidate\""}, {"Header": "unset ETag"}, {"ExpiresDefault": "\"access plus 1 days\""}]