Install heat-cfntools from pypi
Then creates symlinks into /opt/aws/bin using the included script. This replaces the heat-jeos element, so anything that references heat-jeos will need to be replaced with heat-cfntools Change-Id: Id286b005f69ea364357303b4bbc1ed29d4f0f8f9
This commit is contained in:
parent
e4957e37a9
commit
bdc5759740
@ -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
|
11
elements/heat-cfntools/install.d/05-heat-cfntools
Executable file
11
elements/heat-cfntools/install.d/05-heat-cfntools
Executable file
@ -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
|
@ -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'
|
@ -1,2 +1,2 @@
|
||||
heat-jeos
|
||||
heat-cfntools
|
||||
os-config-applier
|
||||
|
Loading…
Reference in New Issue
Block a user