Fuel plugin builder accepts 'master' as task role
Schema for all versions was updated to accept also 'master' string as deployment task role, in addition to previous possible values: '*' string and array of strings matching '^[0-9a-zA-Z_-]+$' regex. Closes-bug: #1510354 DocImpact Change-Id: Iaaf17bf42efb27beda23cf6a46137e380f8569c0
This commit is contained in:
parent
6688f25331
commit
4fc2499243
|
@ -210,6 +210,17 @@ class TestValidatorV3(BaseValidator):
|
|||
'stage': 'post_deployment',
|
||||
'role': '*'
|
||||
},
|
||||
{
|
||||
'type': 'puppet',
|
||||
'parameters': {
|
||||
'timeout': 3,
|
||||
'retries': 10,
|
||||
'puppet_manifest': 'xx',
|
||||
'puppet_modules': 'xxx'
|
||||
},
|
||||
'stage': 'post_deployment',
|
||||
'role': 'master'
|
||||
},
|
||||
]
|
||||
]
|
||||
|
||||
|
|
|
@ -149,7 +149,7 @@ class BaseSchema(object):
|
|||
'role': {
|
||||
'oneOf': [
|
||||
self.list_of_strings,
|
||||
{'enum': ['*']}]}}
|
||||
{'enum': ['*', 'master']}]}}
|
||||
}
|
||||
|
||||
@property
|
||||
|
|
|
@ -83,7 +83,7 @@ class SchemaV2(BaseSchema):
|
|||
'role': {
|
||||
'oneOf': [
|
||||
self.list_of_strings,
|
||||
{'enum': ['*']}]}}
|
||||
{'enum': ['*', 'master']}]}}
|
||||
}
|
||||
|
||||
@property
|
||||
|
|
|
@ -29,7 +29,7 @@ class SchemaV3(SchemaV2):
|
|||
return {
|
||||
'oneOf': [
|
||||
self.task_group,
|
||||
{'enum': ['*']}
|
||||
{'enum': ['*', 'master']}
|
||||
]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue