Browse code

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

Attila Fazekas authored on 2014/02/02 18:07:39
Showing 2 changed files
... ...
@@ -105,6 +105,7 @@ function cleanup_ceilometer() {
105 105
 # configure_ceilometerclient() - Set config files, create data dirs, etc
106 106
 function configure_ceilometerclient() {
107 107
     setup_develop $CEILOMETERCLIENT_DIR
108
+    sudo install -D -m 0644 -o $STACK_USER {$CEILOMETERCLIENT_DIR/tools/,/etc/bash_completion.d/}ceilometer.bash_completion
108 109
 }
109 110
 
110 111
 # configure_ceilometer() - Set config files, create data dirs, etc
... ...
@@ -157,6 +157,7 @@ function create_heat_cache_dir() {
157 157
 function install_heatclient() {
158 158
     git_clone $HEATCLIENT_REPO $HEATCLIENT_DIR $HEATCLIENT_BRANCH
159 159
     setup_develop $HEATCLIENT_DIR
160
+    sudo install -D -m 0644 -o $STACK_USER {$HEATCLIENT_DIR/tools/,/etc/bash_completion.d/}heat.bash_completion
160 161
 }
161 162
 
162 163
 # install_heat() - Collect source and prepare