diff --git a/elements/heat-jeos/README.md b/elements/heat-cfntools/README.md similarity index 58% rename from elements/heat-jeos/README.md rename to elements/heat-cfntools/README.md index d8c3142de..b9ebdd9e6 100644 --- a/elements/heat-jeos/README.md +++ b/elements/heat-cfntools/README.md @@ -1,3 +1,3 @@ -Install the Heat JEOS "cfn" (for CloudFormation) tools to enable HEAT +Install the Heat cfntools (for CloudFormation) to enable HEAT templates to make use of advanced features of HEAT such as watches and AWS::CloudFormation::Init diff --git a/elements/heat-cfntools/install.d/05-heat-cfntools b/elements/heat-cfntools/install.d/05-heat-cfntools new file mode 100755 index 000000000..f2cb2b0ff --- /dev/null +++ b/elements/heat-cfntools/install.d/05-heat-cfntools @@ -0,0 +1,11 @@ +#!/bin/sh + +set -uex + +install-packages \ + python-pip python-psutil + +# Boto in Ubuntu 12.10 is too old. Newer boto's aren't +# supported by heat-api-cfn. Bug ref: http://pad.lv/1122472 +pip install 'boto==2.5.2' heat-cfntools +cfn-create-aws-symlinks --source /usr/local/bin diff --git a/elements/heat-jeos/install.d/10-ec2-user b/elements/heat-cfntools/install.d/10-ec2-user similarity index 100% rename from elements/heat-jeos/install.d/10-ec2-user rename to elements/heat-cfntools/install.d/10-ec2-user diff --git a/elements/heat-jeos/install.d/05-heat-jeos b/elements/heat-jeos/install.d/05-heat-jeos deleted file mode 100755 index d5736d81c..000000000 --- a/elements/heat-jeos/install.d/05-heat-jeos +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -set -uex - -CFN_TOOLS_ROOT=/opt/aws/bin # Heat hard codes this - -HEAT_API_SOURCE=https://github.com/heat-api/heat-jeos.git - -OS_ROOT=/opt/stack -JEOS_ROOT=$OS_ROOT/heat-jeos - -install-packages git-core python-psutil python-pip - -mkdir -p $OS_ROOT -git clone $HEAT_API_SOURCE $JEOS_ROOT -cd $JEOS_ROOT -git checkout master - -mkdir -p $CFN_TOOLS_ROOT -ln -sf $JEOS_ROOT/heat_jeos/cfntools/* $CFN_TOOLS_ROOT - -# Boto in Ubuntu 12.10 is too old. Newer boto's aren't -# supported by heat-api-cfn. Bug ref: http://pad.lv/1122472 -pip install 'boto==2.5.2' diff --git a/elements/os-refresh-config/element-deps b/elements/os-refresh-config/element-deps index c4ebd9c89..5aee3bbba 100644 --- a/elements/os-refresh-config/element-deps +++ b/elements/os-refresh-config/element-deps @@ -1,2 +1,2 @@ -heat-jeos +heat-cfntools os-config-applier