From: Steve Baker Date: Sun, 28 Jul 2013 22:51:23 +0000 (+1200) Subject: Call cfn-create-aws-symlinks in rackspace servers. X-Git-Tag: 2014.1~291 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=bd62c511629fd16a7b3b5b8428c3830916ba7719;p=openstack-build%2Fheat-build.git Call cfn-create-aws-symlinks in rackspace servers. This will also be required for arch, gentoo and opensuse when the pip install prefix is known. Change-Id: If789c603c3677c88d30e018cf6ca71925bad9511 --- diff --git a/heat/engine/resources/rackspace/cloud_server.py b/heat/engine/resources/rackspace/cloud_server.py index 93b6a407..4f7d2a1d 100644 --- a/heat/engine/resources/rackspace/cloud_server.py +++ b/heat/engine/resources/rackspace/cloud_server.py @@ -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)