~smoser/cloud-init:fix/fake-extended-tempfile-cleanup

Last commit made on 2017-09-21
Get this branch:
git clone -b fix/fake-extended-tempfile-cleanup https://git.launchpad.net/~smoser/cloud-init
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Branch information

Name:
fix/fake-extended-tempfile-cleanup
Repository:
lp:~smoser/cloud-init

Recent commits

79ce0a2... by Scott Moser on 2017-09-21

tests: remove a temp file used in bootcmd tests.

The bootcmd test was leaving files in the tmpdir named
 ci-FakeExtendedTempFile.XXXXXX.

This cleans those up.

bf6456f... by Scott Moser on 2017-09-21

release 17.1

Bump the version in cloudinit/version.py to be 17.1 and update
ChangeLog.

99ef5ad... by Arnd Hannemann <email address hidden> on 2017-08-21

doc: document GCE datasource.

Add some minimal documentation for GCE datasource.

0451a9f... by Robert Schweikert on 2017-09-21

suse: updates to templates to support openSUSE and SLES.

Things done here:
 - identify 'suse' as a variant in util.system_info and
   also tools/render-cloudcfg.
 - update systemd and cloud.cfg templates for suse specific changes.

LP: #1718640

243ec59... by Robert Schweikert on 2017-09-21

suse: Copy sysvinit files from redhat with slight changes.

Here we commit the SuSE provided sysvinit scripts. They are very similar
to those in redhat/ directory. They differ in small but important ways.

Rather than build a template system here we will just accept the copy
and paste. sysvinit in both RedHat and SuSE is EOL, so we do not
expect any real maintenance cost here.

LP: #1718649

2761344... by Chad Smith on 2017-09-21

docs: fix sphinx module schema documentation

Create a copy of each modules schema attribute when generating sphinx docs
to avoid altering the actual module dict in memory. This avoids illegible
rendering of module examples and distros where each character of a list
was represented on a separate line by itself.

Fixes ntp, resizefs, runcmd and bootcmd docs.

d3a8777... by Chad Smith on 2017-09-20

tests: Add cloudinit package to all test targets

The package cloudinit was sparsely added to only the makefile's unittest
target and tox's py3 target. This branch adds cloudinit package to 'make
unittest3' and all tox environments. It tweaks one cloudinit unit test to
use mocked_object.call_count instead of mocked_object.assert_called_once
which is not defined in some python unittest versions.

82b2da3... by Scott Moser on 2017-09-20

Makefile: No longer look for yaml files in obsolete ./bin/.

The bin/ dir was deleted some time ago, but the Makefile was still
searching for files down it. This didn't cause any problems other Than a
wierd looking error message in a build log.

7a2d4cc... by Scott Moser on 2017-09-19

tests: fix ds-identify unit tests to set EC2_STRICT_ID_DEFAULT.

The variable DI_EC2_STRICT_ID_DEFAULT was not being set in unit tests
so when 16.04 built, which changed that setting in patches the tests
would unexpectedly fail.

7eb3460... by Chad Smith on 2017-09-16

ec2: Fix maybe_perform_dhcp_discovery to use /var/tmp as a tmpdir

/run/cloud-init/tmp is on a filesystem mounted noexec, so running
dchlient in Ec2Local during discovery breaks with 'Permission denied'.
This branch allows us to run from a different tmp dir so we have exec
rights.

LP: #1717627