summaryrefslogtreecommitdiff
path: root/cloudinit/cloud.py
AgeCommit message (Collapse)Author
2012-06-211. Renames for debug message from 'transform' to 'module'harlowja
2. Fixing up more cloud.path.joins found to use the right ro/rw filename
2012-06-20Massive pylint + pep8 fixups!Joshua Harlow
2012-06-18When logging is 'cycled' ensure that we call the logging reset routine first.Joshua Harlow
2012-06-16Add comment as to why the cloud object/wrapper is usefulJoshua Harlow
2012-06-15Fixups to ensure that pylint does not find anything major wrong.Joshua Harlow
2012-06-15Instead of having the cloud pass large references to its constructor, this ↵Joshua Harlow
has been reduced to actual objects. Added a get template filename helper which can be used to locate template files for various handlers/transforms. Ensured that the config that we give back out is copied, so that it can't be modified by any 'malicous' handlers/transforms. Added helper method cycle_logging that can resetup logging, this is mainly used by the rsyslog transform.
2012-06-11This will now just contain the "public" view of the cloud objects, backed by ↵Joshua Harlow
whatever other set of objects.
2012-06-09More init fs here, cleanup after user_data file moves + other cleanups.Joshua Harlow
2012-06-08Move to having a parts directory/module + seperate modules.Joshua Harlow
2012-06-08Fixup CloudConfig by using new module functions and calling objects.Joshua Harlow
2012-06-08This now holds the following classes:Joshua Harlow
CloudInit - cut up to only provide some basic init processes CloudPartData - provided to handlers so that they can fetch needed data without providing the whole enchilda of cloud init. CloudPaths - holds the paths that should be used, for instances, for non-instances and such. CloudSemaphores - holds the concept of cloud inits sempaphores, but cleaned up, using context manager to help here. CloudHandlers - holds the user data handlers to be activated CloudConfig - the cloud config object (to be cleaned up)
2012-06-07Add this file which will contain the cloud init and cloud config classes.Joshua Harlow