Browse code

Renamed file 70-trove to 70-trove.sh

Reason: Devstack not installing trove
stack.sh ignores the trove installation script(70-trove)

Change-Id: I3f179a6b5ded46e9f96a1c4bcc673ec52fa8bf0e
Closes-Bug: #1274022

shalini khandelwal authored on 2014/01/29 18:48:15
Showing 2 changed files
1 1
deleted file mode 100644
... ...
@@ -1,33 +0,0 @@
1
-# trove.sh - Devstack extras script to install Trove
2
-
3
-if is_service_enabled trove; then
4
-    if [[ "$1" == "source" ]]; then
5
-        # Initial source
6
-        source $TOP_DIR/lib/trove
7
-    elif [[ "$1" == "stack" && "$2" == "install" ]]; then
8
-        echo_summary "Installing Trove"
9
-        install_trove
10
-        install_troveclient
11
-        cleanup_trove
12
-    elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
13
-        echo_summary "Configuring Trove"
14
-        configure_troveclient
15
-        configure_trove
16
-
17
-        if is_service_enabled key; then
18
-            create_trove_accounts
19
-        fi
20
-
21
-    elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
22
-        # Initialize trove
23
-        init_trove
24
-
25
-        # Start the trove API and trove taskmgr components
26
-        echo_summary "Starting Trove"
27
-        start_trove
28
-    fi
29
-
30
-    if [[ "$1" == "unstack" ]]; then
31
-        stop_trove
32
-    fi
33
-fi
34 1
new file mode 100644
... ...
@@ -0,0 +1,33 @@
0
+# trove.sh - Devstack extras script to install Trove
1
+
2
+if is_service_enabled trove; then
3
+    if [[ "$1" == "source" ]]; then
4
+        # Initial source
5
+        source $TOP_DIR/lib/trove
6
+    elif [[ "$1" == "stack" && "$2" == "install" ]]; then
7
+        echo_summary "Installing Trove"
8
+        install_trove
9
+        install_troveclient
10
+        cleanup_trove
11
+    elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
12
+        echo_summary "Configuring Trove"
13
+        configure_troveclient
14
+        configure_trove
15
+
16
+        if is_service_enabled key; then
17
+            create_trove_accounts
18
+        fi
19
+
20
+    elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
21
+        # Initialize trove
22
+        init_trove
23
+
24
+        # Start the trove API and trove taskmgr components
25
+        echo_summary "Starting Trove"
26
+        start_trove
27
+    fi
28
+
29
+    if [[ "$1" == "unstack" ]]; then
30
+        stop_trove
31
+    fi
32
+fi