File: plugin.sh

package info (click to toggle)
python-os-faults 0.2.7-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 696 kB
  • sloc: python: 4,797; sh: 54; makefile: 24
file content (14 lines) | stat: -rw-r--r-- 359 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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