bootstrap-vz/bootstrapvz/plugins/cloud_init/manifest-schema.yml
Anders Ingemann a7f2327e42 Litter the manifest schemas with additionalProperties:false
This pretty much eliminates the possiblity of undiscovered typos in the manifest
2015-05-02 13:04:30 +02:00

31 lines
668 B
YAML

---
$schema: http://json-schema.org/draft-04/schema#
title: cloud-init plugin manifest
type: object
properties:
system:
type: object
properties:
release:
type: string
enum:
- wheezy
- stable
- jessie
- testing
- sid
- unstable
plugins:
type: object
properties:
cloud_init:
type: object
properties:
username: {type: string}
metadata_sources: {type: string}
disable_modules:
type: array
items: {type: string}
uniqueItems: true
required: [username]
additionalProperties: false