]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Call cfn-create-aws-symlinks in rackspace servers.
authorSteve Baker <sbaker@redhat.com>
Sun, 28 Jul 2013 22:51:23 +0000 (10:51 +1200)
committerSteve Baker <sbaker@redhat.com>
Thu, 1 Aug 2013 22:56:29 +0000 (10:56 +1200)
This will also be required for arch, gentoo and opensuse
when the pip install prefix is known.

Change-Id: If789c603c3677c88d30e018cf6ca71925bad9511

heat/engine/resources/rackspace/cloud_server.py

index 93b6a407bc7c9e171882cf7d0f4e0c5fa44f9e8b..4f7d2a1dc82c1431df3c3b4860a0c18b306423d5 100644 (file)
@@ -66,6 +66,7 @@ bash -x /var/lib/cloud/data/cfn-userdata > /root/cfn-userdata.log 2>&1
 apt-get update
 apt-get install -y cloud-init python-boto python-pip gcc python-dev
 pip install heat-cfntools
+cfn-create-aws-symlinks --source /usr/local/bin
 """
 
     # - Fedora 17: Verified working
@@ -77,6 +78,7 @@ pip install heat-cfntools
     fedora_script = base_script % """\
 yum install -y cloud-init python-boto python-pip gcc python-devel
 pip-python install heat-cfntools
+cfn-create-aws-symlinks
 """
 
     # - Centos 6.4: Verified working
@@ -95,6 +97,7 @@ while fuser /var/lib/rpm/*; do sleep 1; done
 yum install -y cloud-init python-boto python-pip gcc python-devel \
   python-argparse
 pip-python install heat-cfntools
+cfn-create-aws-symlinks
 """
 
     # - Debian 7: Not working (heat-cfntools patch submitted)