Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-06-21 | 1. 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-20 | Return a empty json map as default instead of an empty string for unknown fields | Joshua Harlow | |
2012-06-20 | 1. Add a dummy lock object + a file lock object | Joshua Harlow | |
2. Use this object when returning semaphores 3. Adjust the debug statement to show this object | |||
2012-06-20 | 1. 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-20 | 1. 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-20 | No need for this now that we have the imports done correctly | Joshua Harlow | |
2012-06-20 | Add a license and use find_packages to locate the needed packages | Joshua Harlow | |
2012-06-20 | Fix secondary config subdir name | Joshua Harlow | |
2012-06-20 | Use setuptools instead of disttools, this seems to be needed for ↵ | Joshua Harlow | |
requirements to work | |||
2012-06-20 | Massive pylint + pep8 fixups! | Joshua Harlow | |
2012-06-20 | 1. Rename to modules instead of transforms | Joshua 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-20 | Change to import error instead of runtime error. | Joshua Harlow | |
2012-06-20 | Catch the import error rather than the runtime error. | Joshua Harlow | |
2012-06-20 | Renamed back to 'cc_*' with the reasoning being that 'cc_' provides | Joshua Harlow | |
some protection against module name collisions when importing. | |||
2012-06-20 | The '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-20 | Removed this to avoid confusion with cfg and then having a config dir. | Joshua Harlow | |
2012-06-20 | Move 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-20 | 1. 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-20 | Move back to the old dashs mixed with underscores for now until ↵ | Joshua Harlow | |
checking/migrating and then using canonicalized name is done. | |||
2012-06-20 | 1. Show what we are importing | Joshua Harlow | |
2. Don't rethrow as a runtime exception, let people using this just catch the real error... | |||
2012-06-20 | 1. Use the name modules where transforms was used | Joshua 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-20 | Add in the new binary to be used in files found. | Joshua Harlow | |
2012-06-20 | update tools/bddeb and debian.trunk packaging | Scott 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-20 | Remove the .py extension for this new main program binary. | Joshua Harlow | |
2012-06-20 | Add 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-20 | Add message about query not being implemented yet. | Joshua Harlow | |
2012-06-20 | Removed the older binaries, now supplemented by a unified binary. | Joshua Harlow | |
2012-06-20 | Make the single run mode setup the output redirection and logging accordingly | Joshua Harlow | |
2012-06-20 | Show log message that says ec2 route disabling is not enabled | harlowja | |
2012-06-20 | Use comparisons instead of xrange, until python 3 when it should be more ↵ | harlowja | |
efficent | |||
2012-06-20 | Change this function name back after made it back to protected after making ↵ | harlowja | |
the run single transform mode work | |||
2012-06-20 | Show the lock object name and the lock value - useful for debugging | harlowja | |
2012-06-20 | Ensure any authorized key file found in authorized keys is path adjusted as well | harlowja | |
2012-06-20 | Always provide a path here, in this case the root path | harlowja | |
2012-06-20 | Uppercase constants, remove need to use cloud.paths.join since scripts_d ↵ | harlowja | |
should already be modified | |||
2012-06-19 | Add dependency on argparse. | Joshua Harlow | |
2012-06-19 | Pylint line length fixups. | Joshua Harlow | |
2012-06-19 | Get single module running mode mostly working (still needs a little work). | Joshua Harlow | |
2012-06-19 | Allow the run single to pass in a set of args and a frequency | Joshua Harlow | |
that will replace the initial sections args and freqency if provided. If not provided then no replacement occurs. | |||
2012-06-19 | 1. 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-19 | Pylint cleanups. | Joshua Harlow | |
2012-06-19 | 1. 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-19 | Fix comparison to none, instead of empty in ds_deps assignment check. | Joshua Harlow | |
2012-06-19 | 1. Use the help message to show the default | Joshua 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-19 | More path joinings found + update in logging of when we translate a path | Joshua Harlow | |
2012-06-19 | Fix logging message spelling | Joshua Harlow | |
2012-06-19 | More cleanups around read/write roots | Joshua Harlow | |
2012-06-19 | More paths missed (durn), but now fixed. | Joshua Harlow | |
2012-06-19 | Make 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-19 | Use the given module as the root module for the given mod to be used from. | Joshua Harlow | |