lp:~oddbloke/charms/trusty/ubuntu-repository-cache/fix-cron-template
- Get this branch:
- bzr branch lp:~oddbloke/charms/trusty/ubuntu-repository-cache/fix-cron-template
Branch merges
- Charles Butler (community): Approve
-
Diff: 8 lines (+1/-0)1 file modifiedtemplates/cron/ubuntu-repository-cache_rsync.cron (+1/-0)
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. - 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.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)