Commit graph

38 commits

Author SHA1 Message Date
Anders Ingemann
f9372ce97e Began work on S3 backed instances. Refactored adding tasks.
Got stuck on the bundle image call, it uses argparse.
Somehow we need to fake the arguments.
2013-07-13 15:13:03 +02:00
Anders Ingemann
9f85cdf909 Remove 'Volume' part from ebs tasks.
It's kind of obvious that we are working with volumes in the ebs module.
2013-07-13 15:12:45 +02:00
Anders Ingemann
5dd8c27c6a ImageRegistration task implemented 2013-07-08 23:14:08 +02:00
Anders Ingemann
7c2f248649 Wrap EBS specific tasks in an if block 2013-07-08 23:14:07 +02:00
Anders Ingemann
20587148f4 implemented CreateSnapshot 2013-07-08 23:14:07 +02:00
Anders Ingemann
5acd0a0dc3 Add unmount tasks to tasklist
squash! Add unmount tasks to tasklist
2013-07-08 23:14:07 +02:00
Anders Ingemann
6671a67d9b Implemented APT cleanup 2013-07-08 23:14:07 +02:00
Anders Ingemann
ba1fd93308 Pulled disabling of daemonautostart into separate task 2013-07-08 23:14:07 +02:00
Anders Ingemann
4180f16656 Implemented cleanup tasks 2013-07-08 23:14:06 +02:00
Anders Ingemann
5949c3c9cc Implemented init script installation 2013-07-08 23:14:06 +02:00
Anders Ingemann
501b336d0e Move ModifyFSTab task to filesystem 2013-07-08 23:14:06 +02:00
Anders Ingemann
14d6f5fb4f Implemented network tasks 2013-07-08 23:14:06 +02:00
Anders Ingemann
9ee096f262 Implement security tasks + minor fixes 2013-07-08 23:14:06 +02:00
Anders Ingemann
953e324ca3 Implemented DisableGetTTYs 2013-07-08 23:14:06 +02:00
Anders Ingemann
8bbf1b3fec Implemented BlackListModules 2013-07-08 23:14:05 +02:00
Anders Ingemann
8fb605e8f2 add ModifyFstab 2013-07-08 23:14:05 +02:00
Anders Ingemann
c187cf6c13 Implemented ConfigureGrub 2013-07-08 23:14:05 +02:00
Anders Ingemann
6628429732 Move AptSources into apt module 2013-07-08 23:14:05 +02:00
Anders Ingemann
fd4a08c8b5 Implemented apt-upgrade 2013-07-08 23:14:05 +02:00
Anders Ingemann
435084983d tidy up tasks() 2013-07-08 23:14:04 +02:00
Anders Ingemann
4157eefc3c apt sources implemented 2013-07-08 23:14:04 +02:00
Anders Ingemann
0ed091ca1c Implemented GenerateLocales and SetTimezone 2013-07-08 23:14:04 +02:00
Anders Ingemann
d3ab01f88f Implement initialize() fn for providers and plugins ,silence boto debug 2013-07-08 23:14:04 +02:00
Anders Ingemann
3726d72c68 Implemented MountSpecials 2013-07-08 23:14:04 +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
1214210738 Filesystem tasks 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
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
4d10f94926 Check for EBS backing the proper way 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
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
f0dec6d6af Keep TaskList inside common module 2013-07-08 23:13:57 +02:00
Anders Ingemann
6230684c62 Refactor ec2 provider a bit 2013-07-08 23:13:57 +02:00
Anders Ingemann
ef343016f0 Remove commandline arguments, run solely on manifest file 2013-07-08 23:13:57 +02:00
Anders Ingemann
e63e2cca0c Plugin architecture working 2013-07-08 23:13:56 +02:00