Difference between revisions of "Puppet"
(docs for puppet-openstack) |
(→Downloading a local patch) |
||
Line 17: | Line 17: | ||
− | == running local rspec puppet tests | + | == running local rspec puppet tests == |
> mkdir vendor | > mkdir vendor |
Revision as of 23:55, 21 May 2013
Developer documentation
steps to get started:
- follow the regular process for contributing to openstack [1]
- go to : settings > watched projects and add the puppet projects (all of the form stackforge/puppet-*)
Downloading a local patch
glone the relevant module from stackforge, ex:
> git clone git://github.com/stackforge/puppet-openstack
in the patch, find the git checkout or chery-pick command, and copy it:
> git fetch https://review.openstack.org/stackforge/puppet-openstack refs/changes/52/29452/9 && git checkout FETCH_HEAD
running local rspec puppet tests
> mkdir vendor > export GEM_HOME=vendor > bundle install > # bundle exec rake -T > bundle exec rake spec