tuskar rack-list
tuskar rack-show <name or id>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# YAML -> CouchDB fixture loader for Rails | |
# ======================================== | |
# by Jiri Stransky (http://twitter.com/jistr) | |
# for use with testing database instances only ;) | |
# | |
# What it does: | |
# * Loads fixtures from "test/fixtures" directory. | |
# * Permits use of ERB in the fixtures. | |
# * Uses CouchRest. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Use this plugin instead: https://github.com/jistr/vim-nerdtree-tabs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://fedoraproject.org/wiki/OpenStack_devstack | |
# http://devstack.org/localrc.html | |
# Check /etc/hosts and make sure that ::1 is bound to 'localhost6', | |
# not to 'localhost'. | |
DEST=$HOME/openstack | |
DATA_DIR=$DEST/data | |
LOGFILE=$DEST/logs/stack.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
fi | |
# install dependencies and wget |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
class q::nova_network::controller { | |
} | |
class q::neutron::controller { | |
} | |
class q::controller_common { | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# if you get an error that minitest cannot be loaded, add: | |
# | |
# gem 'minitest' | |
# | |
# to /usr/share/foreman/Gemfile.in and then run: | |
# | |
# scl enable ruby193 "gem install minitest" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eo pipefail | |
xdotool key --window $(xdotool search --name 'Rdio \- Mozilla Firefox') bracketright |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
MACHINE_REGEX=${MACHINE_REGEX:-baremetal} | |
FENCE_XVM_KEY=${FENCE_XVM_KEY:-$(cat /etc/cluster/fence_xvm.key)} | |
MULTICAST_ADDRESS=${MULTICAST_ADDRESS:-$(grep address /etc/fence_virt.conf | head -n1 | awk -F'"' '{ print $2}')} | |
if [ -z "$FENCE_XVM_KEY" ]; then | |
echo 'ERROR: fence_xvm key not set' 1>&2 | |
echo '$FENCE_XVM_KEY is empty and /etc/cluster/fence_xvm.key does not exist / cannot be read / is empty' 1>&2 | |
exit 1 |
OlderNewer