Add default for DeployIdentifier in nested templates
authorSteven Hardy <shardy@redhat.com>
Thu, 1 Sep 2016 15:29:47 +0000 (16:29 +0100)
committerSteven Hardy <shardy@redhat.com>
Thu, 1 Sep 2016 15:37:23 +0000 (16:37 +0100)
Until we fix the bug where at validation time heat doesn't know
if a parent passes a value into the nested template, this may
be a workaround for validation failing where no default is found.

Change-Id: I02b0764ac29700cd29584e356ac0cfebcda09a36
Closes-Bug: #1619352

puppet/all-nodes-config.yaml
puppet/ceph-storage-post.yaml
puppet/cinder-storage-post.yaml
puppet/compute-post.yaml
puppet/controller-post.yaml
puppet/swift-storage-post.yaml

index a43e964..ab5ee6d 100644 (file)
@@ -26,6 +26,7 @@ parameters:
     type: comma_delimited_list
   DeployIdentifier:
     type: string
+    default: ''
     description: >
       Setting this to a unique value will re-run any deployment tasks which
       perform configuration on a Heat stack-update.
index a83e0cf..df6b724 100644 (file)
@@ -15,6 +15,7 @@ parameters:
     default: {}
   DeployIdentifier:
      type: string
+     default: ''
      description: Value which changes if the node configuration may need to be re-applied
 
 resources:
index 6416c43..0620bc6 100644 (file)
@@ -10,6 +10,7 @@ parameters:
     type: json
   DeployIdentifier:
      type: string
+     default: ''
      description: Value which changes if the node configuration may need to be re-applied
   RoleData:
     type: json
index d0c6082..358ec5a 100644 (file)
@@ -15,6 +15,7 @@ parameters:
     default: {}
   DeployIdentifier:
      type: string
+     default: ''
      description: Value which changes if the node configuration may need to be re-applied
 
 resources:
index 4af6cb4..c97c3bc 100644 (file)
@@ -15,6 +15,7 @@ parameters:
     default: {}
   DeployIdentifier:
      type: string
+     default: ''
      description: Value which changes if the node configuration may need to be re-applied
 
 resources:
index 859fad2..ebc54ab 100644 (file)
@@ -13,6 +13,7 @@ parameters:
     default: {}
   DeployIdentifier:
      type: string
+     default: ''
      description: Value which changes if the node configuration may need to be re-applied
 
 resources: