bash_completion for heat and ceilometer

Installing bash completion for heat and ceilometer by using a
similar way used with other services.

Change-Id: I5094648272f2666f6bff181bfa3aeb35e863bd97
This commit is contained in:
Attila Fazekas 2014-02-02 10:07:39 +01:00
parent 78ab80e558
commit 8664ca53f8
2 changed files with 2 additions and 0 deletions

View File

@ -105,6 +105,7 @@ function cleanup_ceilometer() {
# configure_ceilometerclient() - Set config files, create data dirs, etc # configure_ceilometerclient() - Set config files, create data dirs, etc
function configure_ceilometerclient() { function configure_ceilometerclient() {
setup_develop $CEILOMETERCLIENT_DIR setup_develop $CEILOMETERCLIENT_DIR
sudo install -D -m 0644 -o $STACK_USER {$CEILOMETERCLIENT_DIR/tools/,/etc/bash_completion.d/}ceilometer.bash_completion
} }
# configure_ceilometer() - Set config files, create data dirs, etc # configure_ceilometer() - Set config files, create data dirs, etc

View File

@ -157,6 +157,7 @@ function create_heat_cache_dir() {
function install_heatclient() { function install_heatclient() {
git_clone $HEATCLIENT_REPO $HEATCLIENT_DIR $HEATCLIENT_BRANCH git_clone $HEATCLIENT_REPO $HEATCLIENT_DIR $HEATCLIENT_BRANCH
setup_develop $HEATCLIENT_DIR setup_develop $HEATCLIENT_DIR
sudo install -D -m 0644 -o $STACK_USER {$HEATCLIENT_DIR/tools/,/etc/bash_completion.d/}heat.bash_completion
} }
# install_heat() - Collect source and prepare # install_heat() - Collect source and prepare