Last commit made on 2018-02-26
Get this branch:
git clone -b master https://git.launchpad.net/~d-info-e/cloud-init
Only do3meli can upload to this branch. If you are do3meli please log in for upload directions.

Branch merges

Branch information


Recent commits

417a5c0... by Chad Smith

doc: fix chef install from apt packages example in RTD.

Apt key was mistyped in the example.

Should be

instead of


d67636f... by Romanos Skiadas <email address hidden>

Implement puppet 4 support

Make puppet installation more configurable by:
- Adding a package_name parameter
- Exposing the puppet configuration and puppet ssl directories as
  parameters. These default to the previous values if unset, but can be set
  to the new values puppetlabs requires for its puppet 4.x packages. This
  way puppet 4 configuration is now possible.

LP: #1446804

46cb671... by Scott Moser

subp: Fix subp usage with non-ascii characters when no system locale.

If python starts up without a locale set, then its default encoding
ends up set as ascii. That is not easily changed with the likes of
setlocale. In order to avoid UnicodeDecodeErrors cloud-init will
encode to bytes a python3 string or python2 basestring so that the
values passed to Popen are already bytes.

LP: #1751051

65f0b26... by Daniel Wallace

salt: configure grains in grains file rather than in minion config.

While salt grains can be configured in the minion config file, it is
usually better to configure it in the /etc/salt/grains file.
This allows that to be done.

1e2c2f8... by Scott Moser

release 18.1

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

LP: #1751145

3814d55... by Sankar Tanguturi

OVF: Fix VMware support for 64-bit platforms.

On few 64-bit platforms, the open-vm-tools package is installed at
/usr/lib64/. The DataSourceOVF is changed to search look there for the
'customization plugin'

b7497e8... by Scott Moser

ds-identify: Fix searching for iso9660 OVF cdroms.

This fixes a bug in parsing of 'blkid -o export' output. The result
of the bug meant that DI_ISO9660_DEVS did not get set correctly and
is_cdrom_ovf would not identify devices in most cases.

The tests are improved to demonstrate both multiple iso devices
and also a cdrom that doesn't sort "last" in blkid output.

The code change is to use DEVNAME as the record separator when
parsing blkid -o export rather than relying on being able to read
the empty line.

LP: #1749980

99171fb... by Robert Schweikert

SUSE: Fix groups used for ownership of cloud-init.log

On SUSE distributions the neither the "adm" nor the "wheel" group are set
up by default causing log file permission change to fail. Set the
user:group to root:root in the cloud-init default config file generated
during install.

boo: 1080595

42923ff... by Scott Moser

ds-identify: check /writable/system-data/ for nocloud seed.

Ubuntu core seeds information to nocloud via a bind-mount of
/writable/system-data/var/lib/cloud over /var/lib/cloud.
When ds-identify runs as a systemd generator that mount is not
guaranteed to have been done. It is guaranteed at
cloud-init-local.service time, but not generator time.

Images built with 'ubuntu-image --cloud-init=user-data-file'
would have cloud-init disabled.

The fix here is just to consider the seed dir under /writable/system-data.

LP: #1747070

754f540... by Scott Moser

tests: run nosetests in cloudinit/ directory, fix py26 fallout.

When we moved some tests to live under cloudinit/ we inadvertantly
failed to change all things that would run nose to include that

This changes all the 'nose' invocations to consistently run with
tests/unittests and cloudinit/.

Also, it works around, more correctly this time, a python2.6-ism with
the following code:
   with assertRaises(SystemExit) as cm: