aboutsummaryrefslogtreecommitdiffstats
path: root/notcompute.yaml
diff options
context:
space:
mode:
authorClint Byrum <clint@fewbar.com>2013-05-14 11:35:36 -0700
committerClint Byrum <clint@fewbar.com>2013-06-06 09:28:38 -0700
commit4043c1d61b366c8572a753b9a0604793cb3af90e (patch)
tree82b6518fb43ef587dbf28c9de71bf7f70435fa1b /notcompute.yaml
parenta983dbb103b0353d7cdca53d7e594957f1cccce4 (diff)
Add glance heat and keystone to notcompute
Diffstat (limited to 'notcompute.yaml')
-rw-r--r--notcompute.yaml42
1 files changed, 40 insertions, 2 deletions
diff --git a/notcompute.yaml b/notcompute.yaml
index bfe6d7a9..a97f4d7c 100644
--- a/notcompute.yaml
+++ b/notcompute.yaml
@@ -1,5 +1,5 @@
-Description: Dedicated MySQL server,Dedicated MySQL
- server,Nova API
+Description: Dedicated RabbitMQ Server,Dedicated MySQL server,Nova API,Keystone,Heat
+ Engine and API,Glance
HeatTemplateFormatVersion: '2012-12-12'
Outputs:
GlancePassword:
@@ -33,6 +33,8 @@ Outputs:
- RabbitMQPassword
- Data
Parameters:
+ AdminToken:
+ Type: String
BootstrapDumpPassword:
Default: ''
Description: Password to use for mysqldump from Bootstrap Host
@@ -53,6 +55,9 @@ Parameters:
Default: ''
Description: User to use for replication from bootstrap host
Type: String
+ GlanceDSN:
+ Description: DSN for connecting to glance database
+ Type: String
GlanceUser:
Default: heat
Description: Glance database username.
@@ -69,6 +74,9 @@ Parameters:
Default: default
Description: Name of an existing EC2 KeyPair to enable SSH access to the instances
Type: String
+ KeystoneDSN:
+ Description: DSN for connecting to keystone
+ Type: String
KeystoneHost:
Type: String
KeystoneUser:
@@ -86,6 +94,12 @@ Parameters:
Type: String
RabbitHost:
Type: String
+ RabbitMQHost:
+ Description: Host for RabbitMQ
+ Type: String
+ RabbitMQPassword:
+ Description: Password for RabbitMQ
+ Type: String
RabbitPassword:
Type: String
ServicePassword:
@@ -126,6 +140,16 @@ Resources:
Type: AWS::CloudFormation::WaitCondition
GlancePasswordHandle:
Type: AWS::CloudFormation::WaitConditionHandle
+ HeatAccessPolicy:
+ Properties:
+ AllowedResources:
+ - notcompute
+ Type: OS::Heat::AccessPolicy
+ HeatKey:
+ Properties:
+ UserName:
+ Ref: HeatUser
+ Type: AWS::IAM::AccessKey
HeatPassword:
DependsOn: notcompute
Properties:
@@ -135,6 +159,11 @@ Resources:
Type: AWS::CloudFormation::WaitCondition
HeatPasswordHandle:
Type: AWS::CloudFormation::WaitConditionHandle
+ HeatUser:
+ Properties:
+ Policies:
+ - Ref: HeatAccessPolicy
+ Type: AWS::IAM::User
Key:
Properties:
UserName:
@@ -169,9 +198,18 @@ Resources:
- rabbitmq-server
- mysql-migration
- nova-api
+ - keystone
+ - heat-api
+ - heat-engine
+ - glance
OpenStack::Role: stateful
admin-password:
Ref: ServicePassword
+ admin-token:
+ Ref: AdminToken
+ glance:
+ db:
+ Ref: GlanceDSN
heat:
access_key_id:
Ref: ApiKey