Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-06-15 | 1. Handle returning values from handlers better. | Joshua Harlow | |
2. Throw lock specific exception when semaphores can't be obtained 3. Make the paths constructor config variable named better to its actual usage. | |||
2012-06-15 | Moved as many distro specific actions to here as should be needed. | Joshua Harlow | |
Mainly this is the following: 1. Hostname updating 2. Package command invocation 3. Network settings writings 4. Timezone setting (needs cleanup) | |||
2012-06-15 | Change variable names to reflect usage correctly | Joshua Harlow | |
2012-06-15 | Continued adding distro specific functionality to this new parent distro ↵ | Joshua Harlow | |
class as needed. | |||
2012-06-15 | Instead of having the cloud pass large references to its constructor, this ↵ | Joshua Harlow | |
has been reduced to actual objects. Added a get template filename helper which can be used to locate template files for various handlers/transforms. Ensured that the config that we give back out is copied, so that it can't be modified by any 'malicous' handlers/transforms. Added helper method cycle_logging that can resetup logging, this is mainly used by the rsyslog transform. | |||
2012-06-15 | Added a python file which can be used internally to determine the version of ↵ | Joshua Harlow | |
cloud init that is running for internal messaging, if desired | |||
2012-06-15 | Moved the common user data classes and functionality back to this file since ↵ | Joshua Harlow | |
for now it seems to make organizational sense to put it here. | |||
2012-06-15 | Added a new transform that can be used to show and initial welcome message ↵ | Joshua Harlow | |
to users. It is similar to the final msg one, but is used at the start of cloud init instead. | |||
2012-06-15 | This provides a nice little utility class that avoids the python config ↵ | Joshua Harlow | |
parser throwing when options + values are being added to unknown sections since it handles the creation and checking that those sections exist before the option is added. Also it adds a little helper that can turn that config into a string. | |||
2012-06-15 | Moved the user_data directory back to a user_data.py and made a handler ↵ | Joshua Harlow | |
subdir for just the internal handlers. | |||
2012-06-15 | Moved the handlers from a user_data directory to a handler directory. | Joshua Harlow | |
2012-06-15 | Moved this class which does the user data process back to the main ↵ | Joshua Harlow | |
user_data.py file. It seems to make a little more sense for now to move it to there. | |||
2012-06-15 | Moved the contents of this file back to user_data.py | Joshua Harlow | |
It seems to make sense to have that file, then have a handler directory for user data handlers. | |||
2012-06-13 | Add in a make url function (might be useful). | Joshua Harlow | |
Adjust usage of logexc to use that in the utils file for exceptions that occur. Add in more options to sub function to capture outputs, shell mode and such. | |||
2012-06-11 | Fix copy right. | Joshua Harlow | |
2012-06-11 | Rename sem class to file sem class, add clear_all methods, add empty methods ↵ | Joshua Harlow | |
to dummy sem class. | |||
2012-06-11 | Use pretty table to get a parseable format out. | Joshua Harlow | |
2012-06-11 | Add centering method + more descriptive mount failure exception message. | Joshua Harlow | |
2012-06-11 | Fix this up to work with new utils/logging/datasource... | Joshua Harlow | |
2012-06-11 | Fix logging + fetch user data before user data content handlers are activated. | Joshua Harlow | |
2012-06-11 | Fix log statement. | Joshua Harlow | |
2012-06-11 | Add initial network writing here. | Joshua Harlow | |
2012-06-11 | Pylint cleanups, add a load yaml function that handles errors nicely + other ↵ | Joshua Harlow | |
cleanups. | |||
2012-06-11 | Pylint cleanups. | Joshua Harlow | |
2012-06-11 | Pylint cleanups. | Joshua Harlow | |
2012-06-11 | Use common yaml loading function + pylint cleanups. | Joshua Harlow | |
2012-06-11 | Pylint fixups. | Joshua Harlow | |
2012-06-11 | Pylint fixups. | Joshua Harlow | |
2012-06-11 | Pylint fixups. | Joshua Harlow | |
2012-06-11 | Logging fixups + pylint fixups. | Joshua Harlow | |
2012-06-11 | Start using tempita instead of the more complicated cheetah. | Joshua Harlow | |
2012-06-11 | Add comments on formats, add in function that handles option extraction + ↵ | Joshua Harlow | |
other pylint cleanups. | |||
2012-06-11 | Add more logging in onto what is being searched for. | Joshua Harlow | |
2012-06-11 | Fix this up to use the new datasource class hierachy, as well as other new ↵ | Joshua Harlow | |
objects/logging added... | |||
2012-06-11 | Start of cleaning this up. | Joshua Harlow | |
2012-06-11 | Added log setup and a basic log (for when one is not enabled) | Joshua Harlow | |
2012-06-11 | Removing distro specifics from here, as well as running functionality (which ↵ | Joshua Harlow | |
is now elsewhere). | |||
2012-06-11 | Adding in the base of a ubuntu distro subclass that can install pkgs (right ↵ | Joshua Harlow | |
now). | |||
2012-06-11 | Adding in the root distro class + a util function to fetch various distros. | Joshua Harlow | |
2012-06-11 | This will now just contain the "public" view of the cloud objects, backed by ↵ | Joshua Harlow | |
whatever other set of objects. | |||
2012-06-11 | Moved these functions to utils. | Joshua Harlow | |
2012-06-11 | Add this file, which contains the main init stage, and the handlers stage ↵ | Joshua Harlow | |
(as seperate objects). | |||
2012-06-11 | Move paths to here, since it also qualifies. | Joshua Harlow | |
2012-06-11 | All main stage helpers go here, ie semaphores, handler registrys, runners... | Joshua Harlow | |
2012-06-11 | Not needed, this functionality can go in utils. | Joshua Harlow | |
2012-06-09 | Initial cleanups | Joshua Harlow | |
2012-06-09 | Add copyright | Joshua Harlow | |
2012-06-09 | Move cmdline functions here. Cleanup exception trapping. Fixup copyright. | Joshua Harlow | |
2012-06-09 | Remove unused imports and reduce lines needed + add copy right. | Joshua Harlow | |
2012-06-09 | Cleanup this and add refactoring around large constructors (add a parse ↵ | Joshua Harlow | |
method). Handle error cases better... |