Last active
December 11, 2015 22:19
-
-
Save cwolferh/4669124 to your computer and use it in GitHub Desktop.
Test script for https://github.com/aeolus-incubator/dev-tools/pull/30
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 | |
| # only tested on fc17 thus far | |
| # we need to obliterate the previous db role to recreate as a | |
| # superuser-- this should do it | |
| sudo yum -y erase postgres* | |
| sudo rm -rf /var/lib/pgsql | |
| # points to | |
| # https://github.com/aeolusproject/conductor/commit/87a0888c277e , | |
| # (the last commit before the reversion | |
| # https://github.com/aeolusproject/conductor/commit/472a1cf9 ) | |
| export FACTER_CONDUCTOR_BRANCH=87a0888c277ea5bb9929bab3a406dd4fd2e8712f | |
| export FACTER_CONDUCTOR_PORT=3012 | |
| export WORKDIR=/home/test/w2 | |
| export RBENV_VERSION=1.9.3-p374 | |
| rm -rf $WORKDIR | |
| mkdir $WORKDIR | |
| cd $WORKDIR | |
| git clone https://github.com/aeolus-incubator/dev-tools.git | |
| cd dev-tools | |
| curl https://github.com/aeolus-incubator/dev-tools/pull/30.patch | patch -p1 | |
| /bin/bash -x bootstrap.sh 2>&1 | tee -a /tmp/bootstrap-pg-superuser-test.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment