]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Add an Outputs section to the template
authorAngus Salkeld <asalkeld@redhat.com>
Tue, 3 Apr 2012 04:13:09 +0000 (14:13 +1000)
committerAngus Salkeld <asalkeld@redhat.com>
Tue, 3 Apr 2012 05:39:41 +0000 (15:39 +1000)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
templates/WordPress_Single_Instance.template

index 0c10c1e14ce62532ddb4c7d790e17fe72f79788b..e1722d9ff8db40509009679edfce743eb5bb18d4 100644 (file)
         ]]}}
       }
     }
+  },
+
+  "Outputs" : {
+    "WebsiteURL" : {
+      "Value" : { "Fn::Join" : ["", ["http://", { "Fn::GetAtt" : [ "WebServer", "PublicIp" ]}, "/wordpress"]] },
+      "Description" : "URL for Wordpress wiki"
+    }
   }
 }