From: Clint Byrum Date: Tue, 14 May 2013 18:02:51 +0000 (-0700) Subject: Support DependsOn X-Git-Tag: opnfv-6.0.0~3026 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=621a4dd9ca7029d1cc3bf46aa595f94d659479d5;p=apex-tripleo-heat-templates.git Support DependsOn --- diff --git a/merge.py b/merge.py index 7805b640..b1443f29 100644 --- a/merge.py +++ b/merge.py @@ -77,6 +77,9 @@ def fix_ref(item, old, new): if k == 'Ref' and v == old: item[k] = new continue + if k == 'DependsOn' and v == old: + item[k] = new + continue if k == 'Fn::GetAtt' and isinstance(v, list) and v[0] == old: new_list = list(v) new_list[0] = new