~f30/cloud-init:apt-uri-url

Last commit made on 2017-04-29
Get this branch:
git clone -b apt-uri-url https://git.launchpad.net/~f30/cloud-init
Only Felix Dreissig can upload to this branch. If you are Felix Dreissig please log in for upload directions.

Branch merges

Branch information

Name:
apt-uri-url
Repository:
lp:~f30/cloud-init

Recent commits

653fda9... by Felix Dreissig

Fix name of "uri" key in docs for "cc_apt_configure" module

The key is called "uri", not "url". This is what's used throughout the
examples and also what works in practice (verified on Ubuntu 16.10).
This also slightly improves formatting of the key names in the
related documentation.

2796dab... by Joshua Powers

tests: Enable artful

513e99e... by Scott Moser

nova-lxd: read product_name from environment, not platform.

Apparently signals were crossed when this implementation was done.
Cloud-init was reading 'platform' in the environment of pid 1, but
nova-lxd was setting 'product_name'.

The fix is being made here in cloud-init to instead read product_name.

LP: #1685810

d16632a... by Dylan Perry

Fix yum repo config where keys contain array values

ConfigObj produces configuration files that are incompatible with yum if
multiple values are listed for a configuration key. Switch to the builtin
configparser, and ConfigParser (Python 2) which correctly handles this
case.

Add additional test case for array values in yum_repos definition

LP: #1592150

2775622... by Joshua Powers

template: Update debian backports template

Debian backports are contains in the main repo and not somewhere
seperate. Thanks to Charles Plessy.

LP: #1627293

b613de7... by Joshua Powers

rsyslog: replace ~ with stop

The discard action (tilde character) has been replaced by the
“stop” RainerScript directive. It is considered more intuitive and
offers slightly better performance.

The tilde operator was deprecated in rsyslog 7. Distributions
using rsyslog older than that will need to patch.

LP: #1367899

73a97b1... by Joshua Powers

Doc: add additional RTD examples

Includes missing examples for RTD, including
examples for datasources, disk partitions and apt update.

Also fix doc in cloud-config-update-apt.txt.

LP: #1459604

068dec2... by Scott Moser

Fix growpart for some cases when booted with root=PARTUUID.

Growing the root partition would fail in either of two cases:
 a.) if the device /dev/root existed
 b.) the kernel command line had upper case letters in PARTUUID=<value>
     the kernel will accept upper case partuuid, but udev creates
     links with lower case. In that scenario, we need to adjust to
     a /dev/disk/by-<partuuid|uuid> with lower case.

The fix here addresses that, and also fixes uuid similarly for the
lowercase issue.

LP: #1684869

a7d8fb4... by Joshua Powers

pylint: update output style to parseable

This makes the output much easier to view and parse through while
fixing issues.

5afe4cd... by Joshua Powers

pylint: fix all logging warnings

This will change all instances of LOG.warn to LOG.warning as warn
is now a deprecated method. It will also make sure any logging
uses lazy logging by passing string format arguments as function
parameters.