Commit graph

12 commits

Author SHA1 Message Date
Anders Ingemann
be96e4c13f Move code into proper package folder 2014-04-02 21:26:13 +02:00
Anders Ingemann
851389da09 Rely on $PATH to resolve commands. Fixes #12 2014-02-27 23:03:23 +01:00
Anders Ingemann
0092e1c2c2 Don't instantiate tasks
In practice they are just typed functions with attributes, having a reference to an object is just confusing.
So: Task.run() is now a classmethod
2014-01-06 22:58:21 +01:00
Anders Ingemann
2b5664b0b2 Add `assets' variable to task __init__ files 2014-01-05 02:25:27 +01:00
Anders Ingemann
abe6a5fef3 Don't save the logger to a var we only use once 2013-12-29 16:50:21 +01:00
Anders Ingemann
668b9896c1 Modularize init script installation
Don't install various init scripts when using cloud-init
2013-12-14 23:18:41 +01:00
Anders Ingemann
2e29ac0f93 Rename expand-volume script to expand-root
Also move task for adjustment of that script into common.
It still needs some modifications to support device names other than xvda
2013-11-22 09:03:48 +01:00
Anders Ingemann
663b868b41 Fix #107. Rename before and after task properties
`before' becomes `successors' and `after' becomes `predecessors'
2013-11-22 09:03:47 +01:00
Anders Ingemann
1db38ec7dd New task for adjusting the expand-volume script
By default it only expands /dev/xvda
2013-10-27 18:11:59 +01:00
Anders Ingemann
d4601f08af Only install gen-hostkeys when sshd is installed 2013-10-27 18:11:56 +01:00
Anders Ingemann
e1fc5ea972 Use long options wherever possible.
This makes the code a lot easier to understand
2013-08-17 15:00:53 +00:00
Anders Ingemann
5ae3d92a22 Move some of the ec2 initd stuff to common tasks 2013-08-10 16:51:42 +02:00