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:
parent
64965db9de
commit
ac38cae7f5
|
@ -102,7 +102,13 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Properties": {
|
"Properties": {
|
||||||
"ImageId": "F16-x86_64-cfntools",
|
"ImageId" : {
|
||||||
|
"Fn::FindInMap" : [ "DistroArch2AMI",
|
||||||
|
{ "Ref" : "LinuxDistribution" },
|
||||||
|
{ "Fn::FindInMap" : [ "AWSInstanceType2Arch",
|
||||||
|
{ "Ref" : "InstanceType" },
|
||||||
|
"Arch" ] } ]
|
||||||
|
},
|
||||||
"InstanceType": { "Ref": "InstanceType" },
|
"InstanceType": { "Ref": "InstanceType" },
|
||||||
"KeyName": { "Ref": "KeyName" },
|
"KeyName": { "Ref": "KeyName" },
|
||||||
"UserData": { "Fn::Base64": { "Fn::Join": ["", [
|
"UserData": { "Fn::Base64": { "Fn::Join": ["", [
|
||||||
|
|
Loading…
Reference in New Issue