Make the keystone admin token configurable.
authorRobert Collins <rbtcollins@hp.com>
Wed, 11 Sep 2013 09:44:53 +0000 (21:44 +1200)
committerClint Byrum <clint@fewbar.com>
Wed, 11 Sep 2013 19:54:29 +0000 (12:54 -0700)
Because unique is good for auth secrets.

Change-Id: Iaadc102d11d68d7fc059e62bd992de7ee6f2c818

overcloud-source.yaml
undercloud-vm.yaml

index d86d583..552f114 100644 (file)
@@ -2,6 +2,10 @@ Description: Nova API,Keystone,Heat Engine and API,Glance,Neutron,Dedicated MySQ
   server,Dedicated RabbitMQ Server,Group of Nova Computes
 HeatTemplateFormatVersion: '2012-12-12'
 Parameters:
+  AdminToken:
+    Default: unset
+    Description: The keystone auth secret.
+    Type: String
   InstanceType:
     Default: baremetal
     Description: Flavor to request when deploying.
@@ -97,7 +101,8 @@ Resources:
       - heat-localip
       - neutron-network-node
       admin-password: unset
-      admin-token: unset
+      admin-token:
+        Ref: AdminToken
       cinder:
         db: mysql://cinder:unset@localhost/cinder
         volume_size_mb: '5000'
index 5fbe51f..45a5386 100644 (file)
@@ -1,6 +1,10 @@
 escription: All-in-one baremetal OpenStack and all dependencies.
 HeatTemplateFormatVersion: '2012-12-12'
 Parameters:
+  AdminToken:
+    Default: unset
+    Description: The keystone auth secret.
+    Type: String
   InstanceType:
     Default: baremetal
     Description: Flavor to request when deploying.
@@ -41,7 +45,8 @@ Resources:
       OpenStack::Heat::Stack: {}
       Openstack::ImageBuilder::Elements: [ boot-stack, heat-cfntools, neutron-network-node ]
       admin-password: unset
-      admin-token: unset
+      admin-token:
+        Ref: AdminToken
       controller-address:
         Fn::GetAtt:
           - notcompute