On 15/04/14 14:31, Mike Spreitzer wrote:
It appears that in Fedora 19 and 20 the Wordpress examples need to install different packages than in every other release (see my debugging in https://review.openstack.org/#/c/87065/). I just got a complaint from Heat validation that I can't do this:"AWS::CloudFormation::Init" : { "config" : { "packages" : { "yum" : { { "Fn::FindInMap" : [ "Pkgset2Pkgs", { "Fn::FindInMap" : [ "Distro2Pkgset", { "Ref" : "LinuxDistribution" }, "db" ] }, "client" ] } : [], { "Fn::FindInMap" : [ "Pkgset2Pkgs", { "Fn::FindInMap" : [ "Distro2Pkgset", { "Ref" : "LinuxDistribution" }, "db" ] }, "server" ] } : [], because "expecting property name" at the place where the first { "Fn::FindInMap" ... } appears. Am I understanding this right? Is there a workable way to solve this problem?
The formatting of that config section is somewhat bizarre, and unfortunately leaves no workable way to solve this problem because in JSON a property name cannot be an object just as in Python a dict key cannot be a dict.
cheers, Zane. _______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
