bootstrap-vz/bootstrapvz/plugins/salt/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

25 lines
587 B
YAML

---
$schema: http://json-schema.org/draft-04/schema#
title: Saltstack plugin manifest
type: object
properties:
plugins:
type: object
properties:
salt:
type: object
properties:
grains:
type: object
patternProperties:
^[^/\0]+$: {type: string}
minItems: 1
install_source:
enum:
- stable
- daily
- git
master: {type: string}
version: {type: string}
required: [install_source]
additionalProperties: false