diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-07-27 06:18:28 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-07-27 06:18:28 +0000 |
commit | bf906d75a920103011feb01fe953c43aca52d40c (patch) | |
tree | 6f4bb784ffd9ec7c00ded1d1fc6f09019e1c5e32 /tools | |
parent | 7f3b1b6c08326a533f96b4a54f2a86caa5655015 (diff) | |
parent | d11e256eedac1e1fb7e5b21baebf585924c95353 (diff) |
Merge "Deploy Ceph in containers using ceph-ansible via external workflow"
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/yaml-validate.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/yaml-validate.py b/tools/yaml-validate.py index 1554f9fd..374cd6e3 100755 --- a/tools/yaml-validate.py +++ b/tools/yaml-validate.py @@ -31,6 +31,7 @@ envs_containing_endpoint_map = ['tls-endpoints-public-dns.yaml', 'tls-endpoints-public-ip.yaml', 'tls-everywhere-endpoints-dns.yaml'] ENDPOINT_MAP_FILE = 'endpoint_map.yaml' +OPTIONAL_SECTIONS = ['service_workflow_tasks'] REQUIRED_DOCKER_SECTIONS = ['service_name', 'docker_config', 'puppet_config', 'config_settings', 'step_config'] OPTIONAL_DOCKER_SECTIONS = ['docker_puppet_tasks', 'upgrade_tasks', @@ -266,6 +267,8 @@ def validate_docker_service(filename, tpl): else: if section_name in OPTIONAL_DOCKER_SECTIONS: continue + elif section_name in OPTIONAL_SECTIONS: + continue else: print('ERROR: %s is extra in role_data for %s.' % (section_name, filename)) |