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
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
569f6fd505
`quoted'' ->
quoted'
2014-01-05 02:25:26 +01:00
Anders Ingemann
0612987fec
New task: AddDefaultSources
2014-01-05 02:25:23 +01:00
Anders Ingemann
1c93094833
Integrated package plugin with base system
...
New phase introduced "package installation" (fixes #114 )
Apt source lines are now parsed, this allows to verify the target release of added packages.
All packages (except locales) are now installed *after* bootstrapping (fixes #123 )
Added env argument to log_(check_)call
HostDependencies have been refactored a little
2013-12-29 20:58:06 +01:00
Anders Ingemann
ba1db3b737
DisableRootLogin now runs after package install
...
Also adjusted the wording of the description
2013-12-29 16:50:21 +01:00
Anders Ingemann
1e0aa634d2
Make admin_user plugin more robust
...
Don't fail if the ec2-get-credentials script is not installed
Don't fail if SSH server is not installed
2013-12-29 16:50:21 +01:00
Anders Ingemann
d3dc44bc48
Rename tasks() to avoid clashes with modules
...
The functions are now called resolve_tasks() and resolve_rollback_tasks().
A little more verbose function names but also clearer.
2013-12-14 23:18:41 +01:00
Anders Ingemann
6b6ad527ce
Reorder plugin init scripts
...
Let validate_manifest() always be the first function
2013-12-14 23:18:41 +01:00
Anders Ingemann
80d1a7ffc0
Minor cleanup
2013-12-14 23:18:40 +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
Sonny Garcia
a1122de27e
period was causing plugin to fail
2013-11-07 10:25:49 -06:00
Anders Ingemann
738ba47c65
Add references instead of instances to the tasklist
2013-10-27 18:11:53 +01:00
James Bromberger
90fbe9d698
Correct mirror entry, turn on admin user; fix chroot call to create admin user (--shell and /bin/bash as two entries, not one argument).
2013-08-15 22:17:37 +00:00
Anders Ingemann
0785e21ab0
Move parts of packages task module into common tasks
2013-08-10 19:01:54 +02:00
Anders Ingemann
0be80c0c43
Implemented admin user task
2013-08-10 18:24:27 +02:00
Anders Ingemann
237dde9285
Remove task.run() it is hiding missing run functions
2013-07-08 23:14:01 +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
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
6230684c62
Refactor ec2 provider a bit
2013-07-08 23:13:57 +02:00
Anders Ingemann
e63e2cca0c
Plugin architecture working
2013-07-08 23:13:56 +02:00