summaryrefslogtreecommitdiff
path: root/cloudinit/transforms
AgeCommit message (Collapse)Author
2012-06-161. Add a constant for the "cc_" prefix, so that it can be easily changed if ↵Joshua Harlow
desired.
2012-06-161. Change to fixup transform/form transform nameJoshua Harlow
2. Check lowercase name against .py instead of unknown case.
2012-06-161. Add comment as to what http proxy setting meansJoshua Harlow
2. Adjust so file contents will join with a string instead of appending to something that might not be a string
2012-06-16Clean up this log statement to be more useful.Joshua Harlow
2012-06-16Cleanups around the usage of the apt pipe line value.Joshua Harlow
1. Add a comment onto why this is done 2. Fix the usage of range to search the list and not a string 3. Make the filecontents template just one multiline variable.
2012-06-16Some simple fixes that will make the python 3 translation easierJoshua Harlow
2012-06-16Only set an env variable for instance id if we actually got one.Joshua Harlow
2012-06-15Fixups to ensure that pylint does not find anything major wrong.Joshua Harlow
2012-06-15Update comment about distro handling its timezoneJoshua Harlow
2012-06-15Complete initial cleanup for refactoring/rework.Joshua Harlow
Some of the cleanups were the following 1. Using standard (logged) utility functions for sub process work, writing, reading files, and other file system/operating system options 2. Having distrobutions impelement there own subclasses to handle system specifics (if applicable) 3. Having a cloud wrapper that provides just the functionality we want to expose (cloud.py) 4. Using a path class instead of globals for all cloud init paths (it is configured via config) 5. Removal of as much shared global state as possible (there should be none, minus a set of constants) 6. Other various cleanups that remove transforms/handlers/modules from reading/writing/chmoding there own files. a. They should be using util functions to take advantage of the logging that is now enabled in those util functions (very useful for debugging) 7. Urls being read and checked from a single module that serves this and only this purpose (+1 for code organization) 8. Updates to log whenever a transform decides not to run 9. Ensure whenever a exception is thrown (and possibly captured) that the util.logexc function is called a. For debugging, tracing this is important to not just drop them on the floor. 10. Code shuffling into utils.py where it makes sense (and where it could serve a benefit for other code now or in the future)
2012-06-15Added a new transform that can be used to show and initial welcome message ↵Joshua Harlow
to users. It is similar to the final msg one, but is used at the start of cloud init instead.
2012-06-15Moved the handlers from a user_data directory to a handler directory.Joshua Harlow