lp://staging/~oddbloke/charms/trusty/ubuntu-repository-cache/update_charm-helpers
- Get this branch:
- bzr branch lp://staging/~oddbloke/charms/trusty/ubuntu-repository-cache/update_charm-helpers
Branch merges
- Adam Israel (community): Approve
- Robert C Jennings (community): Approve
-
Diff: 1658 lines (+1159/-194)20 files modifiedlib/charmhelpers/contrib/charmsupport/volumes.py (+175/-0)
lib/charmhelpers/contrib/hahelpers/cluster.py (+24/-5)
lib/charmhelpers/contrib/storage/linux/ceph.py (+6/-6)
lib/charmhelpers/contrib/storage/linux/utils.py (+1/-1)
lib/charmhelpers/contrib/unison/__init__.py (+10/-3)
lib/charmhelpers/core/decorators.py (+57/-0)
lib/charmhelpers/core/files.py (+45/-0)
lib/charmhelpers/core/hookenv.py (+94/-36)
lib/charmhelpers/core/host.py (+55/-11)
lib/charmhelpers/core/services/base.py (+12/-9)
lib/charmhelpers/core/services/helpers.py (+2/-2)
lib/charmhelpers/core/strutils.py (+42/-0)
lib/charmhelpers/core/sysctl.py (+56/-0)
lib/charmhelpers/core/unitdata.py (+477/-0)
lib/charmhelpers/fetch/__init__.py (+23/-14)
lib/charmhelpers/fetch/archiveurl.py (+7/-1)
lib/charmhelpers/fetch/giturl.py (+73/-0)
patches/unison-0001-departed_hook.patch (+0/-59)
patches/unison-0002-keyscan.patch (+0/-25)
patches/unison-0003-keytype.patch (+0/-22)
Related bugs
Bug #1465612: missing charmhelpers.core.decorators causes all hooks to fail | Critical | Fix Released |
Related blueprints
Branch information
- Owner:
- Dan Watkins
- Status:
- Development
Recent revisions
- 196. By Dan Watkins
-
Refresh charm_helpers.
This allows us to drop our local patches as they have been incorporated
upstream. - 195. By José Antonio Rey
-
Daniel Watkins 2015-06-02 Revert "storage.
linux.util: Fix swapped is_device_mounted regex logic (lp:1370053)"
Daniel Watkins 2015-06-03 Update charm-helpers.
Daniel Watkins 2015-06-03 Remove superseded patches.
Daniel Watkins 2015-06-03 Refresh and apply remaining patches. - 194. By José Antonio Rey
-
Daniel Watkins 2015-06-01 Set PATH in templates/
cron/ubuntu- repository- cache_rsync. cron. - 193. By Robert C Jennings
-
Fix apt warning when pre-install payloads add apt sources
When a pre-install script is added (via exec.d/
*/charm- pre-install)
that creates apt source list files under /etc/apt/sources. list.d/
those files will be backed up during charm setup. The backup is made
prior to changing the apt sources url to the archive url the
charm will be pulling metadata from (to avoid a chicken or egg
issue during charm deployment where the VM would try to point to the
archive mirror to be served by the charm).Prior to this patch, the backup file ended in the name of the service
and 'apt-get update' would throw a warning like:
N: Ignoring file 'foo.listubuntu-repository- cache' in directory
'/etc/apt/sources. list.d/ ' as it has an invalid filename extension By adding '.save' to the end of the backup file the warning is eliminated.
Additionally, the comment in change_aptsources_ url() was corrected. - 190. By Robert C Jennings
-
apache config: Do not proxy if no failover host (LP: #1449017)
When the first unit starts, before it knows about peers, it would have
paused the service and attempted to forward to a failover host. In this
situation there is not failover host and 'None' would be used as the
hostname of the failover proxy in the apache configuration file.With this patch a proxy is not used when the failover is not available.
- 187. By Robert C Jennings
-
Add logrotation for apache
The defaults for log rotation will perform daily rotation and
retain logs for one week.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)