Created
March 4, 2014 00:15
-
-
Save igable/9337569 to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/env bash | |
# | |
# This script installs shoal onto SL6 and configures | |
# it to connect to the production shoal instance used | |
# by the ATLAS Cloud group. | |
# | |
# | |
curl http://shoal.heprc.uvic.ca/repo/shoal.repo -o /etc/yum.repos.d/shoal.repo | |
echo -e "\nAttempting install of EPEL repository\n" | |
echo "The following could fail without a problem on the SLC varient and if you" | |
echo "have EPEL installed already" | |
yum install -y yum-conf-epel | |
# install the agent | |
yum install -y shoal-agent | |
echo "Setting the config to point to shoal.heprc.uvic.ca" | |
sed -i 's/localhost/shoal.heprc.uvic.ca/g' /etc/shoal/shoal_agent.conf | |
echo -e "\n\nTo start shoal agent execute:" | |
echo -e " service shoal-agent start\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment