lp://staging/~rcj/charms/trusty/ubuntu-repository-cache/personal
- Get this branch:
- bzr branch lp://staging/~rcj/charms/trusty/ubuntu-repository-cache/personal
Branch merges
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. - 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)