summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-06-211. Only register and increment the handler count after we have ensured it ↵Joshua Harlow
imports and call_begin passes. 2. Fixup the 'test__init__.py' file to now be working again.
2012-06-21Missed some other mkdtemp and rmtree calls no longer neededJoshua Harlow
2012-06-21Use the mocker built-in method for creating temporary dirs (which it will ↵Joshua Harlow
cleanup)
2012-06-211. Got this test working again using the new code.Joshua Harlow
2. Adjusted so that instead of capturing all logging, only a certain level is captured (now that we have lots more logging)
2012-06-21Returning whether it was enabled, useful for unit testingJoshua Harlow
2012-06-21This is now functional and all passing againJoshua Harlow
2012-06-21Pass along any environment settings via the variable 'noseopts'Joshua Harlow
2012-06-21Remove another unused importJoshua Harlow
2012-06-21Remove a unused import.Joshua Harlow
2012-06-21Simplify sshd config loading to make it use one set of functions/objects/classesJoshua Harlow
2012-06-21Use yaml safe_load just incaseJoshua Harlow
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-21Move to a write location and when writing, also write to the write location, ↵harlowja
instead of the read-only one
2012-06-211. Move all info() logging methods to debug() harlowja
2. Adjust comment on sources list from depends 3. For the /etc/timezone 'writing', add a header that says created by cloud-init
2012-06-20Return a empty json map as default instead of an empty string for unknown fieldsJoshua Harlow
2012-06-201. Add a dummy lock object + a file lock objectJoshua Harlow
2. Use this object when returning semaphores 3. Adjust the debug statement to show this object
2012-06-201. Shorten the passed in name for frequency (and expand it later)Joshua Harlow
2. For single modules, if it doesn't run, print a warning and exit with a return code of 1
2012-06-201. Add an importer function that will search for a given module in a set of ↵Joshua Harlow
search module 'prefixes' that also has a potential set of required attributes. 2. Use this new importer to find the distro class, the userdata handler modules, the config modules and the datasource modules, if none can be found error out accordingly.
2012-06-20No need for this now that we have the imports done correctlyJoshua Harlow
2012-06-20Add a license and use find_packages to locate the needed packagesJoshua Harlow
2012-06-20Fix secondary config subdir nameJoshua Harlow
2012-06-20Use setuptools instead of disttools, this seems to be needed for ↵Joshua Harlow
requirements to work
2012-06-20Massive pylint + pep8 fixups!Joshua Harlow
2012-06-201. Rename to modules instead of transformsJoshua Harlow
2. Run single will now attempt to run a module of a given name, if it can find it (no restrictions on config)
2012-06-20Change to import error instead of runtime error.Joshua Harlow
2012-06-20Catch the import error rather than the runtime error.Joshua Harlow
2012-06-20Renamed back to 'cc_*' with the reasoning being that 'cc_' providesJoshua Harlow
some protection against module name collisions when importing.
2012-06-20The 'cfg' module has been removed and moved to 'helpers' to avoid confusion. ↵Joshua Harlow
These modules used the 'cfg' modules so adjusted them.
2012-06-20Removed this to avoid confusion with cfg and then having a config dir.Joshua Harlow
2012-06-20Move the configparser helper to here since it being in a cfg.py is Joshua Harlow
confusing when there is also a directory named 'config'
2012-06-201. Add a comment that the upstart dir should probably be put elsewhere ↵Joshua Harlow
sometime (in a distro specific build?) since not all distros fully support upstart that is in config here or even have upstart in general at all (for various reasons) 2. Found out that we really do need to specify these 2 packages due to the following a. The cloudinit root needs to be a package (pretty obvious) b. Not so obvious is the cloudinit.conf also needs to be a package so that its modules can be directly imported without referring to the module name.
2012-06-20Move back to the old dashs mixed with underscores for now until ↵Joshua Harlow
checking/migrating and then using canonicalized name is done.
2012-06-201. Show what we are importingJoshua Harlow
2. Don't rethrow as a runtime exception, let people using this just catch the real error...
2012-06-201. Use the name modules where transforms was usedJoshua Harlow
2. Reflect the move back to config 'modules' in the other cli options 3. Have the single mode not need to lookup the module but use the general import path
2012-06-20Add in the new binary to be used in files found.Joshua Harlow
2012-06-20update tools/bddeb and debian.trunk packagingScott Moser
* debian.trunk/changelog: increase debian version to '1' to avoid lintian error * debian.trunk/control: bump standards version * debian.trunk/rules: remove cloud-init-run-module symlink (been deprecated for some time) * tools/bddeb: read version from ChangeLog rather than setup.py
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