mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00

Three of the last developed plugins remained on the old `plugins/` folder. This probably happened because they didn't existed when the `documentation` branch were created, so they weren't moved when it was rebased against `master`.
14 lines
392 B
Python
14 lines
392 B
Python
import tasks
|
|
|
|
|
|
def validate_manifest(data, validator, error):
|
|
import os.path
|
|
schema_path = os.path.normpath(os.path.join(os.path.dirname(__file__), 'manifest-schema.json'))
|
|
validator(data, schema_path)
|
|
|
|
|
|
def resolve_tasks(taskset, manifest):
|
|
taskset.add(tasks.AddPackages)
|
|
if 'assets' in manifest.plugins['chef']:
|
|
taskset.add(tasks.CheckAssetsPath)
|
|
taskset.add(tasks.CopyChefAssets)
|