Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-06-23 | Fix a bunch of == None cases | harlowja | |
2012-06-23 | 1. Use a common config merging class now in helpers | harlowja | |
that will be the central point of config fetching for both the 'init' stage and the 'module' stages a. This helps those who want to understand exactly what configs are fetched and how the merging occurs. | |||
2012-06-22 | Don't complete the update if there is no datasource or if writing to cache fails | Joshua Harlow | |
2012-06-22 | Use os.path.join instead of custom string path formation | Joshua Harlow | |
2012-06-22 | 1. Move the getkeybyid function back here but add some slight adjustments | Joshua Harlow | |
a. Instead of executing a bash string, write out a temporary file and then just execute '/bin/sh' on that file with the right arguments instead. 2. Rename util.SilentTemporaryFile to util.ExtendedTemporaryFile and update the usages of the previous name accordingly, this better reflects what this temp file is. 3. More teenie pep8 line length fixings | |||
2012-06-22 | Fix syntax err, grrr | harlowja | |
2012-06-22 | 1. Add comment about conf.d overriding input config | harlowja | |
2. For reading config from conf.d, collect all the configs then call the mergemany function | |||
2012-06-22 | 1. Adjust the logging of phone home module when its not enabled | harlowja | |
2. Fix pylint warning in userdata about unused variable | |||
2012-06-22 | Turn off capturing | Joshua Harlow | |
2012-06-22 | Turn off capturing | Joshua Harlow | |
2012-06-22 | Turn off capturing | Joshua Harlow | |
2012-06-22 | Turn off capturing | Joshua Harlow | |
2012-06-22 | Use a module level constant for the filename | Joshua Harlow | |
2012-06-22 | Fix ma english | Joshua Harlow | |
2012-06-22 | Constant adding for content type, allow the part filename to be over-ridden ↵ | Joshua Harlow | |
easily | |||
2012-06-22 | Disable capturing of these subp calls | Joshua Harlow | |
2012-06-22 | 1. Adjust for the cases of 'yes', 'no', 'true', 'false' by | Joshua Harlow | |
leaving those unquoted 2. Add more comments as to why we are leaving single quoted strings alone. | |||
2012-06-22 | 1. Fix the cfgobj to make sure it handles the quoting | Joshua Harlow | |
of the keys and values in sysconfig specially by ensuring that it does the quoting so that the files written out can be sourced into bash scripts, which is typically what these files are used for. | |||
2012-06-22 | Add in debian, which should also work | Joshua Harlow | |
2012-06-22 | 1. Add a ubuntu and fedora subclass of the RH/debian root classes | Joshua Harlow | |
2. Move the ubuntu class to the debian class (since thats really what it is) | |||
2012-06-22 | Remove support for older ec2 configobj merging. | Joshua Harlow | |
2012-06-22 | Remove suppport for ec2-config | Joshua Harlow | |
2012-06-22 | Use configobj support for now to keep the comments and other k/v pairs that ↵ | Joshua Harlow | |
may already exist in these files | |||
2012-06-22 | ConfigObj is a requirement now, so no need to see if | harlowja | |
the import worked or failed. | |||
2012-06-22 | Configobj should be a requirement now, and not optional, | harlowja | |
so there is no need to check the import for errors. | |||
2012-06-22 | 1. Use configobj instead of configparser | harlowja | |
a. This allows us to not have to add a fake section in b. It will also preserver the files initial comments 2. Adjust how the new sections are being added and values are being written due to this change | |||
2012-06-22 | 1. Return which modules ran from the run module function | harlowja | |
2. Use that list in the main binary & adjust related comparisions | |||
2012-06-21 | Fixup python selinux guards, only try to restore after we check if its ↵ | harlowja | |
useful to restore, fix test to work with selinux enabled sysystems | |||
2012-06-21 | Use RuntimeError subclass instead of top level Exception | Joshua Harlow | |
2012-06-21 | 1. Go through a single protected get ipath method that will throw if there | Joshua Harlow | |
is not an active datasource (ie the user has done an out of order call to a function that needs the datasource to exist) 2. Add in a '_get_instance_subdirs' method that can be over-ridden in the future if more subdirs are needed. | |||
2012-06-21 | 1. Update comment about ipath returning None when no datasource is active | Joshua Harlow | |
2. Fix pylint warning on set method of config parser. | |||
2012-06-21 | 1. Update the comment about fstab to just point to 'man fstab' | Joshua Harlow | |
2. Update the mount point adding of '/' to just add it in one place if it does not already exist | |||
2012-06-21 | Updated so that the locale that is being written out currently in 'cc_locale' | Joshua Harlow | |
now will be done by the distro classes (since its not the same for rhel and ubuntu). Remove the template also since it will just be created by the ubuntu distro class (its just one line). | |||
2012-06-21 | Ensure that calling the urls happens in a specified order. | Joshua Harlow | |
2012-06-21 | Testing is easier if we just pass the paths object, instead of the full ↵ | Joshua Harlow | |
cloud object here. | |||
2012-06-21 | 1. 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-21 | Returning whether it was enabled, useful for unit testing | Joshua Harlow | |
2012-06-21 | Remove another unused import | Joshua Harlow | |
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 | |