[openstack-dev] [heat] computed package names?

Mike Spreitzer mspreitz at us.ibm.com
Tue Apr 15 18:31:52 UTC 2014


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?

Thanks,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140415/1778f118/attachment.html>


More information about the OpenStack-dev mailing list