Install Puppet via Rake and apply your manifests.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install sooty-puppet
Sooty allows you to easily setup Puppet on your server, and apply your manifests to it.
A simple example for your
Rakefile would be:
require "rubygems" require "bundler/setup" require 'sooty' set :domain, 'email@example.com' set :puppet_manifest, 'private/puppet/manifest.pp' set :puppet_modules, 'private/puppet/modules'
You'd then the following once to get Puppet installed:
Then whenever you make changes to your Puppet manifests, just run:
This will apply those changes on the server for you and ensure everything is up-to-date.
- 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
- Update version number in
- If Rubygems.org credentials aren't set, run
gem pushto set. Then run