Forkable dynamic environments for those using webhooks.
It's like http://puppetlabs.com/blog/git-workflow-and-puppet-environments for your githubs.
Copy puppet-environment-webhook.yaml.example
to puppet-environment-webhook.yaml
and edit settings appropriately, or alternatively use environment variables.
Install dependencies and run using bundler (gem install bundler
):
bundle install
bundle exec rackup
curl -i 'http://host:port/puppet/deploy/:owner/:repo/:branch' --data ''
During development consider shotgun for automatic reloading:
gem install shotgun
shotgun ./puppet-environment-webhook.rb