Commit graph

14 commits

Author SHA1 Message Date
Anders Ingemann
60a6fa0df2 Fix #132 2014-01-14 08:51:54 +01:00
Anders Ingemann
1d7f0bd105 image_commands now uses manifest_vars 2014-01-12 12:58:29 +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
27c0346455 Minor import stmt and dependency fix 2014-01-05 02:25:29 +01:00
Anders Ingemann
65e3f37520 Rename image_commands task module to "tasks" 2013-12-15 11:44:36 +01:00
Anders Ingemann
4cca325fb4 Merge remote-tracking branch 'osallou/update_image_commands_to_base' into python
Conflicts:
	plugins/image_commands/__init__.py
	plugins/image_commands/image_commands.py
2013-12-15 11:43:42 +01:00
Olivier Sallou
99b7834611 fix call of ImageCommands, object should not be called, only class should be
remove loopback_file reference, not existing anymore
  filesystem not available anymore, and depends on volume layout so remove the
  execute commands after the user_packages install, else user won't be able to
  call or update installed packages
2013-12-15 08:33:45 +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
86fa48f201 Fix image_commands and user_packages plugins 2013-12-14 23:18:39 +01:00
Olivier Sallou
d35b131c8f remove old and unused imports, closes #117 2013-12-13 10:03:17 +01:00
Anders Ingemann
71be571f93 Fix #104. Remove "enabled" from plugin manifests 2013-11-22 09:03:47 +01:00
Olivier Sallou
c924d500fe add new plugin image_commands to execute cmd or scripts in image 2013-09-09 22:55:14 +02:00