7 Commits

Author SHA1 Message Date
Dalton Hubble
68437b9e2d api: Allow Ignition config templates in YAML
* Match machines to their Ignition template file, render the
template, parse as JSON or YAML, and serve as Ignition JSON
* Existing JSON ignition configs should still work
* Remove the Ignition YAML -> JSON transform script which used fuze
2016-02-04 13:45:11 -08:00
Dalton Hubble
481c99bf6a tests: Improve matcher and context handler test coverage 2016-01-15 18:05:07 -08:00
Dalton Hubble
ccd3c7a839 api: Associate machines' attribute labels to specs by group matchers
* Use YAML group config to match machine labels to groups of zero or
more machines sharing a Specification
* Discontinue using machine.json resources representations which are
repetitive, don't support groups, and don't allow label matching
* Previous "default" special case now handled by a Group with an empty
matcher
2016-01-07 23:24:05 -08:00
Dalton Hubble
7482e94876 api: Allow default machine Spec selector
* Apply the data/machines/default/machine.json Spec to
machines which do not match any spec
2016-01-05 12:52:54 -08:00
Dalton Hubble
d880a332de api: Add API endpoint to provide ignition configs
* Add ignition_id field to Spec JSON schema
2016-01-04 15:19:06 -08:00
Dalton Hubble
72a782c4ef api: Use machine and spec resources to present cloud configs
* Change data/cloud directory to be a flat collection of cloud configs
2015-12-31 10:16:48 -08:00
Dalton Hubble
16e9c7a773 api: Add machine and spec endpoints with FileStore backing 2015-12-30 16:50:52 -08:00