~chad.smith/cloud-init:cleanup/docs-datasource-config

Last commit made on 2018-05-25
Get this branch:
git clone -b cleanup/docs-datasource-config https://git.launchpad.net/~chad.smith/cloud-init
Only Chad Smith can upload to this branch. If you are Chad Smith please log in for upload directions.

Branch merges

Branch information

Name:
cleanup/docs-datasource-config
Repository:
lp:~chad.smith/cloud-init

Recent commits

1f5b202... by Chad Smith

use sourcecode:: json where applicable

fb3bbf0... by Chad Smith

doc: scrub ec2, openstack and cloudstack datasource docs

5446c78... by Scott Moser

Update version.version_string to contain packaged version.

This modifies version.version_string to support having the package
build write the *packaged* version in with a easy replace.
Then, when cloud-init reports its version it will include the full
packaged version.

Also modified here are upstream package build files to get that done.

Note part of the trickery in packages/debian/rules.in was to avoid
the 'basic' templater consuming the '$variable' variable names.

LP: #1770712

529d48f... by Lars Kellogg-Stedman

cc_mounts: Do not add devices to fstab that are already present.

Do not add new entries to /etc/fstab for devices that already have an
existing fstab entry.

Resolves: rhbz#1542578

b4ae0e1... by Scott Moser

ds-identify: ensure that we have certain tokens in PATH.

SuSE builds were not getting a PATH set in generator's environment.
This may seem like mis-configuration on the system, but caused ds-identify
to fail to find blkid (or any other program).

The change here just ensures that we get /sbin /usr/sbin /bin /usr/bin
into the PATH when main is run.

LP: #1771382

327af4a... by Joshua Powers

tests: enable Ubuntu Cosmic in integration tests

30e730f... by Scott Moser

read_file_or_url: move to url_helper, fix bug in its FileResponse.

The result of a read_file_or_url on a file and on a url would differ
in behavior.
  str(UrlResponse) would return UrlResponse.contents.decode('utf-8')
while
  str(FileResponse) would return str(FileResponse.contents)

The difference being "b'foo'" versus "foo".

As part of the general goal of cleaning util, move read_file_or_url
into url_helper.

2dab704... by Ryan Harper

cloud_tests: help pylint

pylint missed finding a typo in the lxd platform because it could not
determine that the variable was being used was a string. The variable
was set by loading a yaml file which pylint couldn't know that it
would be a string. In these cases, we can be more explicit.

13f7f4e... by Scott Moser

flake8: fix flake8 errors in previous commit.

c249432... by Stephen Ford <email address hidden>

typos: Fix spelling mistakes in cc_mounts.py log messages

This also makes some of the messages more consistent.