Convert trove to plugin
Also adds an is_trove_enabled() function to match
https://review.openstack.org/69497 changes for is_service_enabled().
Change-Id: Ic0408ff6d9816aec8a3506931470470342a5dcd7
diff --git a/stack.sh b/stack.sh
index a2469f1..45d47c8 100755
--- a/stack.sh
+++ b/stack.sh
@@ -3,7 +3,7 @@
# ``stack.sh`` is an opinionated OpenStack developer installation. It
# installs and configures various combinations of **Ceilometer**, **Cinder**,
# **Glance**, **Heat**, **Horizon**, **Keystone**, **Nova**, **Neutron**,
-# **Swift**, and **Trove**
+# and **Swift**
# This script allows you to specify configuration options of what git
# repositories to use, enabled services, network configuration and various
@@ -337,7 +337,6 @@
source $TOP_DIR/lib/baremetal
source $TOP_DIR/lib/ldap
source $TOP_DIR/lib/ironic
-source $TOP_DIR/lib/trove
# Extras Source
# --------------
@@ -739,12 +738,6 @@
configure_heat
fi
-if is_service_enabled trove; then
- install_trove
- install_troveclient
- cleanup_trove
-fi
-
if is_service_enabled tls-proxy; then
configure_CA
init_CA
@@ -927,10 +920,6 @@
create_cinder_accounts
create_neutron_accounts
- if is_service_enabled trove; then
- create_trove_accounts
- fi
-
if is_service_enabled ceilometer; then
create_ceilometer_accounts
fi
@@ -1204,19 +1193,6 @@
start_heat
fi
-# Configure and launch the trove service api, and taskmanager
-if is_service_enabled trove; then
- # Initialize trove
- echo_summary "Configuring Trove"
- configure_troveclient
- configure_trove
- init_trove
-
- # Start the trove API and trove taskmgr components
- echo_summary "Starting Trove"
- start_trove
-fi
-
# Create account rc files
# =======================