eb39635b4d
This charm enables the deployment of the cloudkitty service in the Openstack environment, cloudkitty service provides rating as a service based on metrics, it handles field mapping rules to calculate costs and generate reports for the end-user. Cloudkitty charm can relate to mysql, rabbitmq-server, gnocchi and keystone. func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/929 Change-Id: I35353c24c779b226d5edd2641a3177258849122b
15 lines
323 B
Bash
Executable File
15 lines
323 B
Bash
Executable File
#!/bin/bash
|
|
charm=$(grep "charm_build_name" osci.yaml | awk '{print $2}')
|
|
echo "renaming ${charm}_*.charm to ${charm}.charm"
|
|
echo -n "pwd: "
|
|
pwd
|
|
ls -al
|
|
echo "Removing bad downloaded charm maybe?"
|
|
if [[ -e "${charm}.charm" ]];
|
|
then
|
|
rm "${charm}.charm"
|
|
fi
|
|
echo "Renaming charm here."
|
|
mv ${charm}_*.charm ${charm}.charm
|
|
|