Change way of cloning OPM from source

Up to now, we were using a consolidated openstack-puppet-modules
repository. Since we are moving to individual packages, that repo
will no longer be maintained, and we will switch to cloning the
puppet modules themselves.

The code to install Puppet modules has been adapted from
https://github.com/openstack/puppet-openstack-integration/blob/master/functions,
to also benefit from the Zuul cache for OpenStack puppet modules.

In the current patch, all Puppet modules are taken from their
master branches. This is consistent with the way they are handled
in RDO Trunk packaging.

Change-Id: I7cc6f5ec138dd7e8d9ef06fc7e59ad8e3d5d58e8
This commit is contained in:
Javier Pena
2016-04-20 14:06:24 +02:00
parent 36361ee7cc
commit f3a5db5991
5 changed files with 248 additions and 68 deletions

View File

@@ -22,7 +22,10 @@ options have yet to be added.
## Installation of openstack-puppet-modules (REQUIRED if running packstack from source):
$ sudo python setup.py install_puppet_modules
$ export GEM_HOME=/tmp/somedir
$ gem install r10k
$ sudo /tmp/somedir/bin/r10k puppetfile install -v
$ sudo cp -r packstack/puppet/modules/packstack /usr/share/openstack-puppet/modules
### Option 1 (all-in-one)