Skip to content

Instantly share code, notes, and snippets.

@mwhahaha
Last active April 18, 2017 19:31
Show Gist options
  • Save mwhahaha/83d7f1382457aa5b6ac7d1897e9118ce to your computer and use it in GitHub Desktop.
Save mwhahaha/83d7f1382457aa5b6ac7d1897e9118ce to your computer and use it in GitHub Desktop.
# install puppetlabs puppet
wget http://apt.puppetlabs.com/puppetlabs-release-pc1-xenial.deb
dpkg -i puppetlabs-release-pc1-xenial.deb
apt-get install puppet-agent
# disable verification for ceph packages
echo 'APT::Get::AllowUnauthenticated "true";' >> /etc/apt/apt.conf.d/99disableverification
# get p-o-i
git clone https://github.com/openstack/puppet-openstack-integration
cd puppet-openstack-integration
# fetch your change if you want
# git fetch https://git.openstack.org/openstack/puppet-openstack-integration refs/changes/35/455735/8 && git checkout FETCH_HEAD
# needed until https://review.openstack.org/#/c/457740/ lands
export PATH=${PATH}:/opt/puppetlabs/puppet/bin
# run your scenario
PUPPET_MAJ_VERSION=4 SCENARIO=scenario004 ./run_tests.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment