bootstrap-vz/bootstrapvz/plugins/file_copy/manifest-schema.yml
Andrew Bogott d34aeab6e0 Add the file_copy plugin
File_copy supports creation of dirs and copying of files
from the host system into the image.

bug 168
2014-12-15 09:20:02 +00:00

44 lines
1,005 B
YAML

---
$schema: http://json-schema.org/draft-04/schema#
properties:
plugins:
properties:
file_copy:
properties:
mkdirs:
items:
dir:
$ref: '#/definitions/absolute_path'
permissions:
type: string
owner:
type: string
group:
type: string
files:
items:
src:
$ref: '#/definitions/absolute_path'
dst:
$ref: '#/definitions/absolute_path'
permissions:
type: string
owner:
type: string
group:
type: string
minItems: 1
type: array
required:
- src
- dst
required:
- files
type: object
required:
- file_copy
type: object
required:
- plugins
title: File copy plugin manifest
type: object