Skip to content

Commit

Permalink
Make the CI boostrap script work on RH distros
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Kottler authored and ohadlevy committed Sep 16, 2012
1 parent 0604237 commit a5bc286
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions extras/ci/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ sed -e 's/:login: false/:login: true/' $APP_ROOT/config/settings.yaml.example >
cp $APP_ROOT/config/database.yml.example $APP_ROOT/config/database.yml

# install runtime C libs that are required:
sudo apt-get update
sudo apt-get install -y libvirt-dev
if [ -e /etc/redhat-release ]; then
sudo yum install -y libvirt-devel
else
sudo apt-get update
sudo apt-get install -y libvirt-dev
fi
cat > $APP_ROOT/bundler.d/Gemfile.local.rb << EOF
gem 'facter'
gem 'puppet'
Expand Down

0 comments on commit a5bc286

Please sign in to comment.