Ensure cfn-* scripts are installed to /usr/local/bin.

Fedora python prefix is /usr, not /usr/local. Also Fedora python
is not set up at all to handle modules installed to /usr/local.

Installing only the scripts to /usr/local/bin works fine on Fedora.

When heat-cfntools is installed with pip again, use the following:
pip install heat-cfntools --install-option="--install-scripts=/usr/local/bin"

Change-Id: Id11e923c25bd3161c91b2e5166f6ac3bf04c30a0
This commit is contained in:
Steve Baker 2013-05-16 16:24:38 +12:00
parent 47ab02a616
commit b285e76a66
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ git clone --depth=1 https://github.com/openstack/heat-cfntools.git /opt/stack/he
pip install -r /opt/stack/heat-cfntools/tools/pip-requires
pushd /opt/stack/heat-cfntools
python setup.py install
python setup.py install --install-scripts=/usr/local/bin
popd
cfn-create-aws-symlinks --source /usr/local/bin