bootstrap-vz/bootstrapvz/plugins/docker_daemon/manifest-schema.yml
Tiago Ilieve 0f5de13bae Add version option to docker_daemon plugin
As requested on #147, there is now an option to specify the Docker
version to be installed when using the `docker_daemon` plugin. The
version string is validated against a pattern extracted from the
Docker's CHANGELOG. If the version is not present, it will just download
the latest available.

The download method was also changed from `urllib` to `wget`, so we can
see its progress if needed.

This closes #147.
2014-09-13 15:08:52 -03:00

26 lines
522 B
YAML

---
$schema: http://json-schema.org/draft-04/schema#
title: Install Docker plugin manifest
type: object
properties:
plugins:
type: object
properties:
docker_daemon:
type: object
properties:
version:
pattern: '^\d\.\d{1,2}\.\d$'
type: string
system:
type: object
properties:
architecture:
type: string
enum: [amd64]
release:
not:
type: string
enum:
- squeeze
- oldstable