Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-06-21 | Remove a unused import. | Joshua Harlow | |
2012-06-21 | Simplify sshd config loading to make it use one set of functions/objects/classes | Joshua Harlow | |
2012-06-21 | Use yaml safe_load just incase | Joshua Harlow | |
2012-06-21 | 1. 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-21 | Move to a write location and when writing, also write to the write location, ↵ | harlowja | |
instead of the read-only one | |||
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 | 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. 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 | 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. 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 | 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 | 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 | Pylint line length fixups. | 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 | Fix comparison to none, instead of empty in ds_deps assignment check. | Joshua Harlow | |
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 | |
2012-06-19 | Initial 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-19 | Add a return statement that will collect the failures and the amount of ↵ | Joshua Harlow | |
transforms ran. | |||
2012-06-19 | 1. Cleanup variable names to match more of the pythonic underscore pattern | Joshua 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-19 | Fix pylint line length issues. | Joshua Harlow | |
2012-06-19 | Cleanup no datasource exception to use cleaner csv list. | Joshua Harlow | |
2012-06-19 | Cleanup pylint warning about line length. | Joshua Harlow | |
2012-06-19 | Fix pylint error about the rmlist variable name being mis-named. | Joshua Harlow | |
2012-06-19 | Cleanup some of the logging (its a little to verbose). | Joshua Harlow | |
2012-06-19 | Syntax + comment cleanups. | Joshua Harlow | |
2012-06-19 | Add 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-19 | 1. When running, return the function results as well as a boolean that ↵ | Joshua Harlow | |
stated if it ran. | |||
2012-06-18 | Removed this for now. | Joshua Harlow | |
2012-06-18 | 1. Allow the built-in config to be passed in when getting the base config | Joshua Harlow | |
2. Move the cloudinit util function that writes the command line url to a file to here. | |||
2012-06-18 | 1. Cleanup the rm cur instance link variable name to match more of what it is | Joshua 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-18 | Show the timeout (useful to see this when debugging) | Joshua Harlow | |