lp:~d-jj/cloud-init/chef-12-updates

Created by JJ Asghar on 2015-03-03 and last modified on 2015-03-03
Invalid stacked on location: /+branch/cloud-init/
Get this branch:
bzr branch lp:~d-jj/cloud-init/chef-12-updates
Only JJ Asghar can upload to this branch. If you are JJ Asghar please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
JJ Asghar
Project:
cloud-init
Status:
Development

Recent revisions

1075. By JJ Asghar on 2015-03-03

i hate whitespace issues

1074. By JJ Asghar on 2015-03-03

WS removal

1073. By JJ Asghar on 2015-03-03

fixed up per Matt Rays suggestions and catches

1072. By JJ Asghar on 2015-03-03

updated for chef 12 and packagecloud.io changes and also converted to omnibus as the defacto standard to install chef

1071. By Scott Moser on 2015-03-02

MAAS: fix oauth imports and reading of command line seed.

1070. By Scott Moser on 2015-03-02

util.py: remove 'print' debug statement

1069. By Scott Moser on 2015-03-02

url_helper.py: fix undefined variable

python2 scoping is different and running wait_for_url in python3
results in a use of undeclared variable 'e'.

$ python3 -c 'from cloudinit import url_helper; \
    url_helper.wait_for_url("o", max_wait=3,timeout=1, exception_cb=print)'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "cloudinit/url_helper.py", line 358, in wait_for_url
    exception_cb(msg=status_msg, exception=e)

1068. By Scott Moser on 2015-03-02

pep8

1067. By Scott Moser on 2015-02-26

readurl, read_file_or_url returns bytes, user must convert as necessary

 * explicitly test compressed user-data.
 * userdata_raw is now bytes
 * add load_tfile_or_url for loading text file or url
 * ec2_utils: all meta-data is text, remove non-obvious string translations
 * DigitalOcean: adjust for ec2_utils
 * DataSourceGCE, DataSourceMAAS: user-data is binary other fields are text.
 * openstack.py: read paths without decoding to text. This is ok as paths
                 other than user-data are json, and load_json will handle
 * load_file still returns text, and that is what most things use.

1066. By Scott Moser on 2015-02-24

further fixing of non-text user-data.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers