e1cc109486
The plugin configures DevStack to be used with os-faults command-line tools. Change-Id: I2febc154eb4d8a5aa038b9320d545c02b5f513ac
15 lines
359 B
Bash
15 lines
359 B
Bash
#!/bin/bash
|
|
# DevStack plugin to install os-faults
|
|
|
|
LIBDIR=${DEST}/os-faults/devstack/lib
|
|
|
|
source ${LIBDIR}/os-faults
|
|
|
|
if [[ "$1" == "stack" && "$2" == "install" ]]; then
|
|
echo_summary "Installing OS-Faults"
|
|
install_os_faults
|
|
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
|
|
echo_summary "Configuring OS-Faults"
|
|
configure_os_faults
|
|
fi
|