Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidwinter/sooty
Install Puppet via Rake and apply your manifests
https://github.com/davidwinter/sooty
Last synced: 1 day ago
JSON representation
Install Puppet via Rake and apply your manifests
- Host: GitHub
- URL: https://github.com/davidwinter/sooty
- Owner: davidwinter
- License: mit
- Created: 2012-05-13T19:20:46.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-08-26T09:42:47.000Z (about 12 years ago)
- Last Synced: 2024-10-31T14:00:37.844Z (15 days ago)
- Language: Ruby
- Size: 113 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sooty
Install Puppet via Rake and apply your manifests.
## Installation
Add this line to your application's Gemfile:
gem 'sooty-puppet'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sooty-puppet
## Usage
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 protected]'
set :puppet_manifest, 'private/puppet/manifest.pp'
set :puppet_modules, 'private/puppet/modules'You'd then the following once to get Puppet installed:
rake sooty:setup
Then whenever you make changes to your Puppet manifests, just run:
rake sooty:apply
This will apply those changes on the server for you and ensure everything is
up-to-date.## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request## Releasing
1. Update version number in `sooty/version.rb`
2. Run `rake release`
3. If Rubygems.org credentials aren't set, run `gem push` to set. Then run `rake release` again.