Commit graph

12 commits

Author SHA1 Message Date
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
0612987fec New task: AddDefaultSources 2014-01-05 02:25:23 +01:00
Anders Ingemann
4ffb533625 Use new package handling in the cloud-init plugin
This saves quite a few "package" lines in the manifest
2014-01-05 02:24:29 +01:00
James Bromberger
39f5e815b8 Process cloud config tasks only if they are configured. 2013-12-25 12:47:17 +00:00
James Bromberger
7e3527d2af PIP8 ify the latest updates. 2013-12-21 12:26:37 +00:00
James Bromberger
e17bc7ec73 Adjust run ordering of cloud-init config. 2013-12-19 14:21:33 +00:00
James Bromberger
02ef8cabb8 Support auto-configure of cloud-init data sources, with manual override; support specifying modules to disable. 2013-12-19 11:44:34 +00:00
James Bromberger
682b747efc Permit cloud-init to be configured for its metadata sources using debconf. 2013-12-17 15:51:03 +00: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
2320b2cb74 cloud-init plugin implemented.
There is no need for the sed plugin any longer
2013-12-14 23:18:40 +01:00