lp://staging/~mthaddon/charms/precise/postgresql/configs-and-storage
Created by
Tom Haddon
and last modified
- Get this branch:
- bzr branch lp://staging/~mthaddon/charms/precise/postgresql/configs-and-storage
Only
Tom Haddon
can upload to this branch. If you are
Tom Haddon
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Juan L. Negron (community): Approve
-
Diff: 2357 lines (+2086/-122)21 files modifiedTODO (+2/-0)
config.yaml (+253/-0)
hooks/common.sh (+0/-21)
hooks/db-relation-broken (+0/-16)
hooks/db-relation-changed (+0/-27)
hooks/db-relation-joined (+0/-39)
hooks/helpers.py (+199/-0)
hooks/hooks.py (+975/-0)
hooks/install (+0/-7)
hooks/start (+0/-6)
hooks/stop (+0/-4)
metadata.yaml (+5/-1)
revision (+0/-1)
scripts/volume-common.sh (+220/-0)
templates/dump-pg-db.tmpl (+152/-0)
templates/nrpe_service.tmpl (+17/-0)
templates/pg_backup_job.tmpl (+86/-0)
templates/pg_hba.conf.tmpl (+12/-0)
templates/pg_ident.conf.tmpl (+2/-0)
templates/postgres.cron.tmpl (+1/-0)
templates/postgresql.conf.tmpl (+162/-0)
Branch information
- Owner:
- Tom Haddon
- Status:
- Development
Recent revisions
- 78. By JuanJo Ciarlante
-
* be sure to always stop postgresql before volume mgmt changes, and void
copying postmaster.pid file (shouldn't be any, fwiw) - 77. By JuanJo Ciarlante
-
[jjo,r=mthaddon] more permanent storage strengthening:
- do fsck before mount
- on successful return, always assert that mntpoint holds a different
filesystem that '/' (ie. a diff blockdevice / new volume)
- fail if would mount over existing populated mntpoint (would hide its content) - 76. By JuanJo Ciarlante
-
[jjo,r=mthaddon] double-quote egrep regex to avoid weird-nesses like: egrep /dev/vdb /dev/vdc (!), in VMs with multiple /dev/vd[b-z] devices attached
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/charms/postgresql