-
Committer:
Scott Moser
-
Date:
2015-02-26 19:10:17 UTC
-
mfrom:
(1066.1.4 trunk.ud-bytes)
-
Revision ID:
smoser@ubuntu.com-20150226191017-mwhwm6dddrwy2145
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.