bootstrap-vz/bootstrapvz/plugins/commands/__init__.py

11 lines
282 B
Python
Raw Permalink Normal View History

def validate_manifest(data, validator, error):
from bootstrapvz.common.tools import rel_path
validator(data, rel_path(__file__, 'manifest-schema.yml'))
def resolve_tasks(taskset, manifest):
2018-02-12 04:17:53 +00:00
from .tasks import ImageExecuteCommand
taskset.add(ImageExecuteCommand)