summaryrefslogtreecommitdiff
path: root/cloudinit
AgeCommit message (Collapse)Author
2012-06-11Adding in the root distro class + a util function to fetch various distros.Joshua Harlow
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-11Moved these functions to utils.Joshua Harlow
2012-06-11Add this file, which contains the main init stage, and the handlers stage ↵Joshua Harlow
(as seperate objects).
2012-06-11Move paths to here, since it also qualifies.Joshua Harlow
2012-06-11All main stage helpers go here, ie semaphores, handler registrys, runners...Joshua Harlow
2012-06-11Not needed, this functionality can go in utils.Joshua Harlow
2012-06-09Initial cleanupsJoshua Harlow
2012-06-09Add copyrightJoshua Harlow
2012-06-09Move cmdline functions here. Cleanup exception trapping. Fixup copyright.Joshua Harlow
2012-06-09Remove unused imports and reduce lines needed + add copy right.Joshua Harlow
2012-06-09Cleanup this and add refactoring around large constructors (add a parse ↵Joshua Harlow
method). Handle error cases better...
2012-06-09Remove pathmap and make this a part of the CloudPath object, add copyright ↵Joshua Harlow
and format built in config
2012-06-09Add copyright.Joshua Harlow
2012-06-09Add copyright.Joshua Harlow
2012-06-09Add copyright + index hash directly instead of get.Joshua Harlow
2012-06-09More init fs here, cleanup after user_data file moves + other cleanups.Joshua Harlow
2012-06-09Move most of this functionality to either cloud-init object or utils.Joshua Harlow
2012-06-09Rename these to user_data module + submodules.Joshua Harlow
2012-06-09Start adding place where distro specifics can go.Joshua Harlow
2012-06-08Move to having a parts directory/module + seperate modules.Joshua Harlow
2012-06-08Remove parsed config cache, and cleanup cmdline function.Joshua Harlow
2012-06-08Move how handler module names are found to here as well as a fixup module ↵Joshua Harlow
function for bad modules.
2012-06-08Move how user part data modules are found to here.Joshua Harlow
2012-06-08Fixup CloudConfig by using new module functions and calling objects.Joshua Harlow
2012-06-08Remove the main function from this, seems like it should also be in a test ↵Joshua Harlow
if needed.
2012-06-08Remove the main function from this, seems like that should be in a test if ↵Joshua Harlow
needed.
2012-06-08Remove is ipv4 function from here and move to utils + move exceptions to ↵Joshua Harlow
here as well as other find datasource function.
2012-06-08Remove cloud config from here and move to cloud.pyJoshua Harlow
2012-06-08This file now holds the default part handlers (shell script, cloud-config, ↵Joshua Harlow
upstart-jobs, boot-hook) as classes as well as some utility methods to fixup imported modules (ensuring they have the right members/properties) and moving the walking handler callbacks and other part running functionality here.
2012-06-08Moved some of the mounting logic here. Also introduced a context manager ↵Joshua Harlow
which will help unmount.
2012-06-08Moved the shell functionality back in here.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-08Cleaning this up, logic should be more sound around attempts and retries now.Joshua Harlow
2012-06-08Ensure files end with ".tmpl" if they don't initially.Joshua Harlow
2012-06-08Working on making this have the old setup (where strings are taken in for ↵Joshua Harlow
config) as well as file names (for those that have files).
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-08This now only holds some simple top level functions.Joshua Harlow
TODO: maybe just move them to utils?
2012-06-08Renamed this, since its more of settings, not all constants.Joshua Harlow
2012-06-08Putting back into utils for now (until that gets to big).Joshua Harlow
2012-06-08Seems like the util function extraction was not actually needed.Joshua Harlow
2012-06-08Moved this to a file called parts which handles this type of functionality.Joshua Harlow
2012-06-08Moving exceptions to modules where they are used. Seems to make sense.Joshua Harlow
2012-06-07Add a standard exception holding file.Joshua Harlow
2012-06-07Add in a utility class that will handle all shell-like actions.Joshua Harlow
2012-06-07Add this file which will contain the cloud init and cloud config classes.Joshua Harlow
2012-06-07Start moving code from there to here.Joshua Harlow
2012-06-07Move the contents of this file to __init__ in sources.Joshua Harlow
2012-06-071. Move cloud init and cloud config objects to a cloud file.Joshua Harlow
2. Cleanup main __init__ file with shell additions, constants usage, os.path usage.
2012-06-07Add a file that just deals with url like functionsJoshua Harlow