Anders Ingemann
592c218e59
Additional packages should be added via a plugin
2013-07-08 23:14:02 +02:00
Anders Ingemann
a92133edcf
Remove rollback remnants
2013-07-08 23:14:02 +02:00
Anders Ingemann
f80b56b02f
Simplify imports
2013-07-08 23:14:02 +02:00
Anders Ingemann
b92f70e548
bootstrap task implemented
2013-07-08 23:14:01 +02:00
Anders Ingemann
9aae74b0fa
counter tasks for CreateMountDir and MountVolume
2013-07-08 23:14:01 +02:00
Anders Ingemann
4d86ae5bea
Implement MountVolume task, catch less exceptions
2013-07-08 23:14:01 +02:00
Anders Ingemann
237dde9285
Remove task.run() it is hiding missing run functions
2013-07-08 23:14:01 +02:00
Anders Ingemann
1214210738
Filesystem tasks
2013-07-08 23:14:01 +02:00
Anders Ingemann
ba461a815c
Rename TaskException to TaskError, use it when checking installed packages
2013-07-08 23:14:01 +02:00
Anders Ingemann
442397fb2e
Way better rollback architecture through improvements in flexibility
2013-07-08 23:14:00 +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
88ebeadd25
fix phases and their ordering
2013-07-08 23:13:59 +02:00
Anders Ingemann
a401f9edc0
Order by phases as well
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
Anders Ingemann
a8364fe04d
logging
2013-07-08 23:13:58 +02:00
Anders Ingemann
aa86b75974
Rename common module to base
2013-07-08 23:13:57 +02:00
Anders Ingemann
2a3b450e3f
prettier module defs
2013-07-08 23:13:57 +02:00
Anders Ingemann
6230684c62
Refactor ec2 provider a bit
2013-07-08 23:13:57 +02:00