Obey the passed in distro value in HAProxy template

Change-Id: I7e1dad654746329763bb575a09611aa0b827ec24
Signed-off-by: Zane Bitter <zbitter@redhat.com>
This commit is contained in:
Zane Bitter 2012-10-15 16:33:19 +02:00
parent 64965db9de
commit ac38cae7f5
1 changed files with 7 additions and 1 deletions

View File

@ -102,7 +102,13 @@
}
},
"Properties": {
"ImageId": "F16-x86_64-cfntools",
"ImageId" : {
"Fn::FindInMap" : [ "DistroArch2AMI",
{ "Ref" : "LinuxDistribution" },
{ "Fn::FindInMap" : [ "AWSInstanceType2Arch",
{ "Ref" : "InstanceType" },
"Arch" ] } ]
},
"InstanceType": { "Ref": "InstanceType" },
"KeyName": { "Ref": "KeyName" },
"UserData": { "Fn::Base64": { "Fn::Join": ["", [