Charm needed: Drupal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Admin links Drupal module |
Invalid
|
Undecided
|
Unassigned | ||
Juju Charms Collection |
Incomplete
|
High
|
Unassigned |
Bug Description
Juju charm Drupal
author: Nick Barcet <email address hidden>
Example deployment:
1. Setup your site specific parameters in drupal.yaml
> vi drupal.yaml
a list of all settable parameter with description is available using
> juju get drupal
or listing config.yaml
2. Deployment with mysql and haproxy
>juju bootstrap
>juju deploy --config drupal.yaml drupal
>juju deploy mysql
>juju deploy haproxy
>juju add-relation mysql drupal
>juju add-relation drupal haproxy
>juju expose haproxy
3. Accessing your new drupal site should be ready at
http://<haproxy-
look for it in the output of the 'juju status' command.
Note about HTTPS:
-----------------
to enable https access to your site, you can set "do_https" to the value of the
https port you want to listen to (443 is the default for https). You will
also need to provide the paths to *existing* SSLCertificate (ssl_crt) and key
(ssl_key). This means that you will have to use juju scp to upload your certicates
*before* making the config changes and adding other units.
You can also use the default ssl snake oil certificates provided by the ssl-cert
package:
# This config activates https on port 443
do_https: 443
ssl_crt: /etc/ssl/
ssl_key: /etc/ssl/
If the certificate you provide is invalid, apache will fail to load.
If the paths you provide are invalid, the https site will no be activated.
juju debug-log should be your friend, go have a look.
The certificates should be uploaded to the first unit you start, a peer relation
between all units will ensure that they will be reused identically everywhere.
Note about mount interface:
-------
This has not been tested much due to the lack of working providers at the moment,
but the idea is that once we have a working nfs, glusterfs or ceph charm, we should
be able to have a shared file system for files (private, public and temp). This
mounts to /var/opt/
files are stored in /var/opt/
Note about drupal/sites directory:
-------
Multiple units of drupal will see their drupal/sites directory content automatically
rsynced each time there is a change in the config. The master for this is always
the unit with the lowest id. When you want to make a change their (for example
to modify a template), do it on the master and then change the conf-version variable
value with "juju set drupal conf-version=
Note about adding modules:
-------
Just add the modules you want to the modules variable. For example, the command
"juju set drupal modules="cck zen l10n_update" will add and enable these modules if
they were not previously installed.
Note about variable setting:
-------
Any drupal variables can be set via the variable-set configuration. For example,
if you want to put your site offline use:
$juju set drupal variable-
you can specify multiple variables separating them with spaces:
$juju set drupal variable-
Related branches
Changed in principia: | |
assignee: | nobody → abedeltawil (abedeltawil) |
tags: | added: new-formula |
Changed in principia: | |
status: | New → Incomplete |
status: | Incomplete → New |
Changed in principia: | |
status: | New → In Progress |
Changed in drupal-admin-links: | |
assignee: | nobody → Abed El Tawil (abedeltawil) |
Changed in drupal-admin-links: | |
assignee: | Abed El Tawil (abedeltawil) → nobody |
Changed in drupal-admin-links: | |
status: | New → Invalid |
Changed in drupal-admin-links: | |
assignee: | nobody → Abed El Tawil (abedeltawil) |
status: | Invalid → New |
Changed in principia: | |
assignee: | Abed El Tawil (abedeltawil) → nobody |
assignee: | nobody → Abed El Tawil (abedeltawil) |
Changed in drupal-admin-links: | |
assignee: | Abed El Tawil (abedeltawil) → nobody |
Changed in drupal-admin-links: | |
status: | New → Invalid |
Changed in drupal-admin-links: | |
assignee: | nobody → Abed El Tawil (abedeltawil) |
status: | Invalid → In Progress |
status: | In Progress → Invalid |
assignee: | Abed El Tawil (abedeltawil) → nobody |
description: | updated |
summary: |
- Formula needed: Drupal + Charm needed: Drupal |
tags: |
added: new-charm removed: new-formula |
Changed in charm: | |
assignee: | Abed El Tawil (abedeltawil) → Nick Barcet (nijaba) |
description: | updated |
Changed in charms: | |
assignee: | Nick Barcet (nijaba) → nobody |
anybody know how to clear out the "admin links" part of this bug?