~raharper/cloud-init:fix-lp1619423

Last commit made on 2016-10-18
Get this branch:
git clone -b fix-lp1619423 https://git.launchpad.net/~raharper/cloud-init
Only Ryan Harper can upload to this branch. If you are Ryan Harper please log in for upload directions.

Branch merges

Branch information

Name:
fix-lp1619423
Repository:
lp:~raharper/cloud-init

Recent commits

a8495d1... by Ryan Harper

apt is not required; ifupdown is replaced with iproute2

7a59fa8... by Ryan Harper

Rework dep list to drop any package marked 'Essential'

Closer inspection of config modules to add missing commands
that are part of cloud-init core setup and config.

- Dropped any package tagged as 'Essential'

a66e60e... by Ryan Harper

Update deps; skip packages marked Essential

a55ae1f... by Ryan Harper

debian: add explicit dependencies for required binaries

808edb1... by Scott Moser

MAAS: improve the main of datasource to look at kernel cmdline config.

This just looks in one other maas related path for a config file.
The file '91_kernel_cmdline_url' is written by cloud-init when it
gets a cloud-config-url parameter.

Also now we read the config even if a url is specified to potentially
fill in credentials.

c4aeba3... by Scott Moser

tests: silence the Cheetah UserWarning about NameMapper C version.

This silences a warning made by Cheetah in pip installed environments:
  UserWarning: You don't have the C version of NameMapper installed!
  I'm disabling Cheetah's useStackFrames option ...

The reason for the monkey patching is that the warning goes to stderr
during nose and breaks up its expected output. The side affect of it
is that tests would run with Cheetah's 'useStackFrames'
enabled which is "painfully slow with the Python version of NameMapper".

6e45ffb... by Dan Watkins

systemd: Run cloud-init.service Before dbus.socket not dbus.target

The change reported to fix bug 1629797 was incorrect. It added:
  Before=dbus.target
and its commit message referenced dbus.service.
dbus.target does not exist, and dbus.service would not solve the
problem. The change did not fix the problem nor actually make any
difference.

The fix here is just to use Before=dbus.socket.

LP: #1629797

94fd35e... by Scott Moser

systemd: run cloud-init.service Before dbus.service

This is the best work around we have for an issue seen when dns is used
during cloud-init.service on a system that is configured in nsswitch
to use systemd-resolved. The problem is that cloud-init.service was
blocking basic.target, and dbus would not be available until after
cloud-init.service finished.

LP: #1629797

760a4f1... by Ryan Harper

unittests: fix use of mock 2.0 'assert_called' when running make check

Some of the new DigitalOcean unittests were written to use 'assert_called',
which is only available in mock versions 2.0. Because of this, the failure
would only occur in releases less than yakkety and not in 'tox'.

Add a 'xenial' entry to tox.ini with versions from xenial.

1071b99... by Wesley Wiedenmeier

Improve module documentation and doc cleanup.

This adds lots of config module documentation in a standard format.
It will greatly improve the content at readthedocs.
Additionally:
 * Add a 'doc' env to tox.ini
 * Changed default highlight language for sphinx conf from python to yaml
   most examples in documentation are yaml configs
 * Updated datasource examples to highlight sh code properly