summaryrefslogtreecommitdiff
path: root/cloudinit/user_data.py
AgeCommit message (Collapse)Author
2012-07-10Fixes 1012854 by implementing file writing, adjustsJoshua Harlow
other code to have user/group parsing in util instead of in stages.py, renames decomp_str to decomp_gzip since it is more meaningful when named that (as thats all it can decompress).
2012-06-221. Adjust the logging of phone home module when its not enabledharlowja
2. Fix pylint warning in userdata about unused variable
2012-06-22Constant adding for content type, allow the part filename to be over-ridden ↵Joshua Harlow
easily
2012-06-20Massive pylint + pep8 fixups!Joshua Harlow
2012-06-18Fix include once always staying on, only turn it on until a include says to ↵Joshua Harlow
turn it back off, if one of those is encountered
2012-06-171. Add a url response class that urlreading now returns (instead of a tuple). harlowja
a. This allows for more properties to be added as needed in the future, instead of being very restrictive. 2. Fix up all uses of the url reading to now use this new response object. 3. Also fixup user data including, such that if no response actual occurs the url content is not further processed.
2012-06-16Add todo to see if we should turn back off include onceJoshua Harlow
2012-06-16Fix include on enabling, simplify statements around include skipping, allow ↵Joshua Harlow
for case insensitive include statements to be used
2012-06-16Move the helper functions for handlers to the handler __init__ instead of ↵Joshua Harlow
being in here. This class will now just contain user data parsing, leaving the handler running to happen elsewhere.
2012-06-16For the different base classes, ensure we are using the 'abc' module + ↵Joshua Harlow
appropriate annotations + metaclasses.
2012-06-161. Change to fixup handler instead of fixup moduleJoshua Harlow
2. Add logging of unknown content types + seperate payload logging detail message into a separate function.
2012-06-16Some simple fixes that will make the python 3 translation easierJoshua Harlow
2012-06-15Fixups to ensure that pylint does not find anything major wrong.Joshua Harlow
2012-06-15Moved the common user data classes and functionality back to this file since ↵Joshua Harlow
for now it seems to make organizational sense to put it here.
2012-06-09Rename these to user_data module + submodules.Joshua Harlow
2012-06-08Large amounts of refactoring.Joshua Harlow
Now there exists a class which processes the user data down to a mime message and just some small utility methods to walk and determine types. Large amount of content type cleanups & constant creation.
2012-06-071. Adding some new helper files that split off file inclusion, templating, ↵Joshua Harlow
importing, constant usage. 1. Move all datasources to a new sources directory 1. Rename some files to be more consistent with python file/module naming.