Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.48 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.48 KB

OpenStack Puppet Modules

Puppet modules shared between Packstack and Foreman.

How to add a new Puppet module

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