ed19c6c0bd
This makes some cleanup changes to the DevStack plugin for the change to master and bionic. * Define values for precedence handling by the upstream devstack playbook * Add STX_INST_DIR for a deterministic install location * Add stx-update to required plugins * Sort functions in the main plugin * Cleanup comments in a couple of places Change-Id: I147882e8980f3e1b599008205db268eb9e7736b0 Signed-off-by: Dean Troyer <dtroyer@gmail.com>
26 lines
635 B
Bash
26 lines
635 B
Bash
#!/bin/bash
|
|
# Devstack settings
|
|
|
|
# This plugin enables StarlingX stx-integ services and follows the
|
|
# DevStack plugin contract:
|
|
# https://docs.openstack.org/devstack/latest/plugins.html#plugin-sh-contract
|
|
|
|
# Services
|
|
# platform-util
|
|
|
|
# Defaults
|
|
# --------
|
|
|
|
STX_INTEG_NAME=stx-integ
|
|
|
|
######### Plugin Specific ##########
|
|
enable_service $STX_INTEG_NAME
|
|
|
|
# This must not use any variables to work properly in OpenStack's DevStack playbook
|
|
define_plugin stx-integ
|
|
# This works for Zuul jobs using OpenStack's DevStack roles
|
|
plugin_requires stx-integ stx-update
|
|
|
|
# Initial source of lib script
|
|
source $DEST/stx-integ/devstack/lib/stx-integ
|