From 8664ca53f80849553043aba9663f7cb72a9cec42 Mon Sep 17 00:00:00 2001 From: Attila Fazekas Date: Sun, 2 Feb 2014 10:07:39 +0100 Subject: [PATCH] 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 --- lib/ceilometer | 1 + lib/heat | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/ceilometer b/lib/ceilometer index 30bf3aed50..6a72459d41 100644 --- a/lib/ceilometer +++ b/lib/ceilometer @@ -105,6 +105,7 @@ function cleanup_ceilometer() { # configure_ceilometerclient() - Set config files, create data dirs, etc function configure_ceilometerclient() { 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 diff --git a/lib/heat b/lib/heat index 467619f3c6..f171cb450c 100644 --- a/lib/heat +++ b/lib/heat @@ -157,6 +157,7 @@ function create_heat_cache_dir() { function install_heatclient() { git_clone $HEATCLIENT_REPO $HEATCLIENT_DIR $HEATCLIENT_BRANCH 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