bootstrap-vz/bootstrapvz/plugins/salt/manifest-schema.json
Dhananjay Balan 064c4f24bd Add salt plugin
- uses salt bootstrap to install minion code
 - custom grains can be set.
 - option to specify master in the manifest.

e.g manifest (TODO: Add this to doc.)

"salt": {
            "install_source": "git",
            "version": "develop", \\ Only if the source is git
            "master": "", \\ salt master ip or fqdn
            "grains": {
                "custom_grain1": "custom_grain_value1",
                "custom_grain2": "custom_grain_value2",
            }
        }
2014-05-05 00:07:56 +05:30

38 lines
875 B
JSON

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