Puppet modules shared between Packstack and Foreman.
First you have to install bade, a utility for managing Puppet modules using GIT subtrees.
git clone https://github.com/paramite/bade
cd bade
python setup.py develop
Then create a fork of the OpenStack Puppet Modules repository and create a local clone of it.
git clone [email protected]:YOUR_USERNAME/openstack-puppet-modules.git
cd openstack-puppet-modules
Now create a new branch in your local clone.
git checkout -b NAME_OF_THE_MODULE
Afterwards add the new Puppet module, puppet-module-collectd
in this example.
bade add --upstream https://github.com/pdxcat/puppet-module-collectd.git --hash cf79540be4623eb9da287f6d579ec4a4f4ddc39b --commit
Finally add some more details (e.g. why you want to add this Puppet module) to the commit message, push the branch and initiate a pull request.
git commit --amend
git push --set-upstream origin collectd