← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~cjwatson/launchpad:charm-db-update-postgresql-client into launchpad:master

 

Colin Watson has proposed merging ~cjwatson/launchpad:charm-db-update-postgresql-client into launchpad:master.

Commit message:
charm: Add postgresql-client to launchpad-db-update

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/455865

This is useful for the same kind of reason it's useful in the launchpad-admin charm, and things like full staging restores need it.
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/launchpad:charm-db-update-postgresql-client into launchpad:master.
diff --git a/charm/launchpad-db-update/layer.yaml b/charm/launchpad-db-update/layer.yaml
index ce7034d..5411f81 100644
--- a/charm/launchpad-db-update/layer.yaml
+++ b/charm/launchpad-db-update/layer.yaml
@@ -2,6 +2,9 @@ includes:
   - layer:launchpad-db
 repo: https://git.launchpad.net/launchpad
 options:
+  apt:
+    packages:
+      - postgresql-client
   ols-pg:
     databases:
       db: