summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-06-20Remove the .py extension for this new main program binary.Joshua Harlow
2012-06-20Add the ability to only fetch a local datasource instead of also trying to ↵Joshua Harlow
fetch an offical datasource from an external source.
2012-06-20Add message about query not being implemented yet.Joshua Harlow
2012-06-20Removed the older binaries, now supplemented by a unified binary.Joshua Harlow
2012-06-20Make the single run mode setup the output redirection and logging accordinglyJoshua Harlow
2012-06-20Show log message that says ec2 route disabling is not enabledharlowja
2012-06-20Use comparisons instead of xrange, until python 3 when it should be more ↵harlowja
efficent
2012-06-20Change this function name back after made it back to protected after making ↵harlowja
the run single transform mode work
2012-06-20Show the lock object name and the lock value - useful for debuggingharlowja
2012-06-20Ensure any authorized key file found in authorized keys is path adjusted as wellharlowja
2012-06-20Always provide a path here, in this case the root pathharlowja
2012-06-20Uppercase constants, remove need to use cloud.paths.join since scripts_d ↵harlowja
should already be modified
2012-06-19Add dependency on argparse.Joshua Harlow
2012-06-19Pylint line length fixups.Joshua Harlow
2012-06-19Get single module running mode mostly working (still needs a little work).Joshua Harlow
2012-06-19Allow the run single to pass in a set of args and a frequencyJoshua Harlow
that will replace the initial sections args and freqency if provided. If not provided then no replacement occurs.
2012-06-191. Don't force the datasource to always fetch in construction (sometimes not ↵Joshua Harlow
wanted) 2. Add a run single transform function that can be used by the run single main entrypoint action 3. Add a find transform function to be used by the run single action to determine if a transform name is valid
2012-06-19Pylint cleanups.Joshua Harlow
2012-06-191. Move the running of transforms to a common function that returns how a ↵Joshua Harlow
useful exit code 2. Add in the single transform running stub, which seems to be a feature of the previous cloud-init-cfg, making it its own action now 3. Adding in the 'config' and 'final' actions, which now both go through the same entrypoint function to setup the initial object and then fire off the needed transforms. 4. Cleanup of the argparsing code to handle the above cases.
2012-06-19Fix comparison to none, instead of empty in ds_deps assignment check.Joshua Harlow
2012-06-191. Use the help message to show the defaultJoshua Harlow
2. Add a mode option in to the 'config' subparser that allows the user to affect the transform selection phase 3. Some tiny pylint warnings.
2012-06-19More path joinings found + update in logging of when we translate a pathJoshua Harlow
2012-06-19Fix logging message spellingJoshua Harlow
2012-06-19More cleanups around read/write rootsJoshua Harlow
2012-06-19More paths missed (durn), but now fixed.Joshua Harlow
2012-06-19Make most of all the places use the paths join() function so that testing ↵Joshua Harlow
with non-real read/write paths is easier.
2012-06-19Use the given module as the root module for the given mod to be used from.Joshua Harlow
2012-06-19Initial add of read and write roots, this should cover a large set of cases ↵Joshua Harlow
that use the path object. 1. This basically allows configuration to specify 'read_root' which will be used for read operations, right now just templates and a 'write_root' via config that will be used for non read operations (ie 'var/lib/cloud' operations where most of the writing now happens)
2012-06-19Get the 'init' stage working.Joshua Harlow
2012-06-19Add a return statement that will collect the failures and the amount of ↵Joshua Harlow
transforms ran.
2012-06-191. Cleanup variable names to match more of the pythonic underscore patternJoshua Harlow
2. Seperate config loading from the actual final 'merging' process. a. A util function will now merge multiple config dictionaries after they have all been loaded instead of loading and merging at the same time, which can get confusing to follow.
2012-06-19Fix pylint line length issues.Joshua Harlow
2012-06-19Cleanup no datasource exception to use cleaner csv list.Joshua Harlow
2012-06-19Small logging changes.Joshua Harlow
2012-06-19Add a mock ec2 metadata server that can be used for testing withJoshua Harlow
2012-06-19Passed along the extra config pathsJoshua Harlow
2012-06-191. Continue working on main 'init' methodJoshua Harlow
2. Add the ability to take in multiple extra config files (mainly for debugging) 3. Move 'simple' welcome message to this file 4. Only setup initial basic logging if '-d' option is provided.
2012-06-19Cleanup pylint warning about line length.Joshua Harlow
2012-06-19Fix pylint error about the rmlist variable name being mis-named.Joshua Harlow
2012-06-19Cleanup some of the logging (its a little to verbose).Joshua Harlow
2012-06-19Syntax + comment cleanups.Joshua Harlow
2012-06-19Add the ability to check if the metadata service is up before actually using it.Joshua Harlow
1. This is very useful for testing (until we have boto timeout in a more sane manner)
2012-06-191. When running, return the function results as well as a boolean that ↵Joshua Harlow
stated if it ran.
2012-06-18Removed this for now.Joshua Harlow
2012-06-181. Allow the built-in config to be passed in when getting the base configJoshua Harlow
2. Move the cloudinit util function that writes the command line url to a file to here.
2012-06-181. Cleanup the rm cur instance link variable name to match more of what it isJoshua Harlow
2. Allow on config reading the ability to pass in config files that over-ride the search for configs (useful for testing...)
2012-06-18Show the timeout (useful to see this when debugging)Joshua Harlow
2012-06-181. Fixed datasource construction (switched param order)Joshua Harlow
2. Fixed up importing of modules to handle the failure case better a. Also realized that using the import class we don't have to reimport a module via getattr, so removed that.
2012-06-18Fixed the constructor paramsJoshua Harlow
2012-06-181. Removed the welcome message for now :-)Joshua Harlow