From 68c60892a1df78d2cd13ff5789cce3aef104cb66 Mon Sep 17 00:00:00 2001 From: Bogdan Dobrelya Date: Fri, 20 Apr 2018 11:11:19 +0200 Subject: [PATCH] Omit hiera YAML validations for external deploys Closes-bug: #1765641 Change-Id: I3e98521f6396acc9e4e1a7b32faec85e988ab0fe Signed-off-by: Bogdan Dobrelya --- tools/yaml-validate.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/yaml-validate.py b/tools/yaml-validate.py index 5dcb6da091..910918c51f 100755 --- a/tools/yaml-validate.py +++ b/tools/yaml-validate.py @@ -726,6 +726,10 @@ def validate_service_hiera_interpol(f, tpl): 'ServiceNetMap', search_keynames, enter_lists) for path in values_found: + # Omit if external deploy tasks in the path + if 'external_deploy_tasks' in path: + continue + # Omit if not a part of {get_param: [ServiceNetMap ... if not enter_lists and path[-1] != 'get_param': continue