126aaf94b9
Change-Id: I7e94193bc81c3caabd77ca112952a98f15f3c434
14 lines
539 B
Bash
Executable File
14 lines
539 B
Bash
Executable File
#!/bin/bash
|
|
|
|
lsbdistcodename=`lsb_release -c -s`
|
|
puppet_deb=puppetlabs-release-${lsbdistcodename}.deb
|
|
/usr/bin/wget http://apt.puppetlabs.com/$puppet_deb -O $puppet_deb
|
|
sudo dpkg -i $puppet_deb
|
|
sudo apt-get update
|
|
sudo apt-get install -y puppet git rubygems
|
|
|
|
git clone https://github.com/openstack/openstack-ci-puppet
|
|
sudo bash openstack-ci-puppet/install_modules.sh
|
|
|
|
sudo puppet apply --modulepath=`pwd`/openstack-ci-puppet/modules:/etc/puppet/modules -e 'node default {class { "openstack_project::bare_slave": install_users => false }}'
|