lp:~oddbloke/charms/trusty/ubuntu-repository-cache/fix-cron-template

Created by Dan Watkins and last modified
Get this branch:
bzr branch lp:~oddbloke/charms/trusty/ubuntu-repository-cache/fix-cron-template
Only Dan Watkins can upload to this branch. If you are Dan Watkins please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Dan Watkins
Status:
Development

Recent revisions

200. By Dan Watkins

Fix cron template so cronjobs will actually run.

charmhelpers uses jinja2 for templating. jinja2 will strip the last
newline from a template, and cron won't run a file which doesn't end
with a newline.

https://bugs.launchpad.net/charm-helpers/+bug/1423599 is the
charm-helpers bug to disable this jinja2 behaviour.

199. By José Antonio Rey

Daniel Watkins 2015-08-05 Force filesystem creation.

198. By José Antonio Rey

Daniel Watkins 2015-08-03 Fix permissions on /srv/<service name>

197. By Adam Israel

[daniel-thewatkins] Fix rsync and other various peer-related bugs

196. By Adam Israel

[daniel-thewatkins] Refresh charm-helpers and remove deprecated custom patches

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.

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

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.

Subscribers