lp:~rcj/charms/trusty/ubuntu-repository-cache/personal

Created by Robert C Jennings and last modified
Get this branch:
bzr branch lp:~rcj/charms/trusty/ubuntu-repository-cache/personal
Only Robert C Jennings can upload to this branch. If you are Robert C Jennings please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Robert C Jennings
Status:
Development

Recent revisions

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.

192. By Robert C Jennings

Tests: Correct logging text and alter timeout

191. By Robert C Jennings

tests: Extend deploy timeouts for automated test environment

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.

189. By Robert C Jennings

Mutli-unit rsync timeout was too short

188. By Robert C Jennings

Add missing logrotate template

187. By Robert C Jennings

Add logrotation for apache

The defaults for log rotation will perform daily rotation and
retain logs for one week.

186. By Robert C Jennings

pylint cleanup

185. By Robert C Jennings

storage: local monitor checks weren't added for ephemeral stoage

184. By Robert C Jennings

Add check for metadata age

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.