lp:~jasonbutz/cloud-init

Owned by Jason Butz
Get this repository:
git clone https://git.launchpad.net/~jasonbutz/cloud-init
Only Jason Butz can upload to this repository. If you are Jason Butz please log in for upload directions.

Branches

Name Last Modified Last Commit
user-data-include-file-format-documentation 2017-08-25 11:36:55 UTC 2017-08-25
doc: Add Include File Format Error Information

Author: Jason Butz
Author Date: 2017-08-25 11:16:21 UTC

doc: Add Include File Format Error Information

master 2017-08-23 19:24:38 UTC 2017-08-23
cc_landscape & cc_puppet: Fix six.StringIO use in writing configs

Author: Chad Smith
Author Date: 2017-08-23 19:24:38 UTC

cc_landscape & cc_puppet: Fix six.StringIO use in writing configs

Both landscape and puppet modules had issues with the way they wrote
/etc/landscape/client.conf or /etc/puppet/puppet.conf in either python3 or
python2. This branch adds initial unit tests for both modules which will
get better exercise under both python2 and python3.

The unit tests shed light on a few issues:
   - In the cc_landscape module py3 can't provide six.StringIO content to
     ConfigParser.write, so we need to use six.BytesIO instead
   - In the cc_puppet module, python <= 2.7 doesn't support using
     six.StringIO as a context manager, so we drop the context manager
     fanciness and directly set outputstream = StringIO().
   - The docstring in cc_puppet is fixed to document the 'conf'
     sub-key requiring valid puppet section names for each
     key-value list.

LP: #1699282
LP: #1710932

12 of 2 results
This repository contains Public information 
Everyone can see this information.

Subscribers