Commit graph

13 commits

Author SHA1 Message Date
Anders Ingemann
be96e4c13f Move code into proper package folder 2014-04-02 21:26:13 +02:00
Anders Ingemann
039a35a344 Fix bug in ManifestError __str__ function
+ some formatting fixes
2014-01-06 22:58:21 +01:00
Anders Ingemann
e1881da2bc Simplify tasklist by passing a set to the modules 2014-01-06 22:58:21 +01:00
Anders Ingemann
a4ead02a9b Remove provider specific manifests
Manifest and module loading has been refactored
Provider modules now must implement validate_manifest like plugins do
Simplified loading of manifests
2014-01-05 14:03:04 +01:00
Anders Ingemann
ba461a815c Rename TaskException to TaskError, use it when checking installed packages 2013-07-08 23:14:01 +02:00
Anders Ingemann
2135cdbc1a PEP8 fixes 2013-07-08 23:14:00 +02:00
Anders Ingemann
96028f96e1 Various improvements and additions.
I couldn't be bothered to untangle this, so here it goes:
* Log colors depending on loglevel
* Simplified Filelogger
* Remove description=None from basetask
* create_list creates task list from argument now
* Task rollback feature: If a task fails, the tasklist calls rollback() on the completed tasks in reverse order
* Added TaskException to common.exceptions as a base to extend from
* Added TriggerRollback task to common.tasks for development purposes
* An EBS volume for bootstrapping is now created and attached to the instance (including rollback actions)
* EC2 Connect task now depends on host.GetInfo
2013-07-08 23:14:00 +02:00
Anders Ingemann
c7625f85d8 Move EC2 VolumeError out of common 2013-07-08 23:14:00 +02:00
Anders Ingemann
29b52a6a70 Create volume 2013-07-08 23:14:00 +02:00
Anders Ingemann
79a699a360 Better schema validation and errors 2013-07-08 23:13:59 +02:00
Anders Ingemann
0f29b3d0e2 Cycle detection and topological sorting 2013-07-08 23:13:59 +02:00
Anders Ingemann
1e4af40b3c Task dependencies, bogus implementation 2013-07-08 23:13:59 +02:00
Anders Ingemann
5689b77011 Manifest validation, simplified main run fn 2013-07-08 23:13:58 +02:00