Lampwick
This gem makes it easy to run an autostage script, in the event that the puppet environment needs 'PULL' only and cannot use git-hooks

- TODO: auth for private repos
Installation
Add this line to your application's Gemfile:
gem 'lampwick'
And then execute:
$ bundle
Or install it yourself as:
$ gem install lampwick
Usage
Create a configuration file with the following elements
---
git: 'git repository' (e.g. https://github.com/fup/example.git or git@github.com:fup/example
target: 'path to the directory where the environments will be set up'
repo: 'path to the directory where the repository will be initially cloned' [Optional]
If using basic auth, include it in the URI (e.g. https://user:password@github.com/fup/somerepo.git)
If using ssh, make sure the key is loaded using keyagent, key location is currently unsupported.
For GitHub private repos, username and password are needed.
lampwick --config <config_file> [--named] [--purge]
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request