mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00

- 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", } }
38 lines
875 B
JSON
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"]
|
|
}
|