]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
docs : update local template references to heat-templates url
authorSteven Hardy <shardy@redhat.com>
Tue, 7 May 2013 15:19:44 +0000 (16:19 +0100)
committerSteven Hardy <shardy@redhat.com>
Tue, 7 May 2013 15:56:41 +0000 (16:56 +0100)
Update references to the to-be-removed in-tree templates, so
we use raw URLs to the heat-templates repo instead

Change-Id: I2121cedc2bffe1760d845dd2d87d97dd2265f1e9

doc/source/getting_started/on_devstack.rst
doc/source/getting_started/on_fedora.rst
doc/source/getting_started/on_ubuntu.rst

index cbfacb41c03b217060ba6db98c2b3189ccda8f9a..74f89070f30225f8255ae752c2c356f557527a42 100644 (file)
@@ -58,10 +58,10 @@ Heat needs to launch instances with a keypair, so we need to generate one
 
 Launching a stack
 -----------------
-Now lets launch a stack, assuming that DEST is left as the default /opt/stack::
+Now lets launch a stack, using an example template from the heat-templates repository::
 
-    heat stack-create teststack -f
-    /opt/stack/heat/templates/WordPress_Single_Instance.template -P "InstanceType=m1.large;DBUsername=wp;DBPassword=verybadpassword;KeyName=heat_key;LinuxDistribution=F16"
+    heat stack-create teststack -u
+    https://raw.github.com/openstack/heat-templates/master/cfn/WordPress_Single_Instance.template -P "InstanceType=m1.large;DBUsername=wp;DBPassword=verybadpassword;KeyName=heat_key;LinuxDistribution=F16"
 
 Which will respond::
 
index d217edfb4bb3f5ace5c5aefb5a57b1c20ae60096..9bf57c7ae4ace034d7e4db74c22fcafc19ccb9fe 100644 (file)
@@ -205,7 +205,7 @@ Launch a Wordpress instance
 
 ::
 
-    heat-cfn create wordpress --template-file=templates/WordPress_Single_Instance.template --parameters="InstanceType=m1.xlarge;DBUsername=${USER};DBPassword=verybadpass;KeyName=${USER}_key"
+    heat-cfn create wordpress --template-url=https://raw.github.com/openstack/heat-templates/master/cfn/WordPress_Single_Instance.template --parameters="InstanceType=m1.xlarge;DBUsername=${USER};DBPassword=verybadpass;KeyName=${USER}_key"
 
 List stacks
 -----------
index d15e1f64cfa5147cc7b2c94ddf557f826dccd9d9..b9324050c7ac2409baeccf12d93b788c84257765 100644 (file)
@@ -192,7 +192,7 @@ Run the debian wordpress example
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ::
 
-    heat stack-create wordpress --template-file=templates/WordPress_Single_Instance_deb.template --parameters="InstanceType=m1.xlarge;DBUsername=${USER};DBPassword=verybadpassword;KeyName=${USER}_key;LinuxDistribution=U10"
+    heat stack-create wordpress --template-url=https://raw.github.com/openstack/heat-templates/master/cfn/WordPress_Single_Instance_deb.template --parameters="InstanceType=m1.xlarge;DBUsername=${USER};DBPassword=verybadpassword;KeyName=${USER}_key;LinuxDistribution=U10"
 
 List stacks
 ~~~~~~~~~~~