Created
March 12, 2015 19:50
-
-
Save ehershey/098446119b1fb2aad43e to your computer and use it in GitHub Desktop.
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 -o verbose | |
set -o errexit | |
if [ "$OS" = "Windows_NT" ]; then | |
# Windows-only | |
# | |
echo "Checking for IPV6 support" | |
ipconfig | grep -i ipv6 | |
echo "Found IPV6 support" | |
PYTHON=c:/Python27/python | |
echo "Checking for scons" | |
which scons.bat | |
echo "Found scons" | |
else | |
# Non-windows | |
# | |
echo "Checking for IPV6 support" | |
/sbin/ifconfig -a | grep inet6 | |
echo "Found IPV6 support" | |
PYTHON=python | |
echo "Checking for kinit" | |
which kinit | |
echo "Found kinit" | |
echo "Checking for scons" | |
which scons | |
echo "Found scons" | |
fi | |
echo "Checking for GO" | |
go version | |
echo "Checking for pymongo" | |
echo import pymongo | "$PYTHON" | |
echo "Checking for git" | |
which git | |
echo "Found git" | |
echo "Checking for snmpwalk" | |
which snmpwalk | |
echo "Found snmpwalk" | |
echo "Checking for mongo-orchestration" | |
which mongo-orchestration | |
echo "Found mongo-orchestration" | |
echo "Checking for m4" | |
which m4 | |
echo "Found m4" | |
echo "Checking for patch" | |
which patch | |
echo "Found patch" | |
echo "VALIDATION SUCCESS" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment