modules : added environment modifications from configuration file

This commit is contained in:
alalazo 2016-04-06 14:02:27 +02:00
parent d636b4fdde
commit e993c17f89

View File

@ -246,6 +246,13 @@
'type': 'object',
'additionalProperties': False,
'definitions': {
'array_of_strings': {
'type': 'array',
'default': [],
'items': {
'type': 'string'
}
},
'dependency_selection': {
'type': 'string',
'enum': ['None', 'Direct', 'All']
@ -273,7 +280,14 @@
'prerequisites': {'$ref': '#/definitions/dependency_selection'},
'environment': {
'type': 'object',
'default': {}
'default': {},
'additionalProperties': False,
'properties': {
'set-env': {'$ref': '#/definitions/array_of_strings'},
'unset-env': {'$ref': '#/definitions/array_of_strings'},
'prepend-path': {'$ref': '#/definitions/array_of_strings'},
'append-path': {'$ref': '#/definitions/array_of_strings'}
}
}
}
},