Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Puppet Ruby
branch: master

README.md

Ruby Puppet Module

Puppet Forge Build Status

This module manages Ruby and RubyGems on Debian/Redhat based systems.

Basic usage

This module contains a set of classes that declare Ruby libraries (package or gem) in the form of virtual resources. Wherever a library is needed you just have to write the following lines:

include ruby::package::json
Package <| alias == 'ruby-json' |>

If you prefer gem packages:

include ruby::gems
include ruby::gem::json
Package <| alias == 'ruby-json' |>

Due to a bug (http://projects.puppetlabs.com/issues/4459) resource alias is only usable for require. For example:

realize Package[ruby-json]

doesn't work! This is why we use the "spaceship" (collection) operator.

Dependencies

This module depends on:

Contributing

Please report bugs and feature request using GitHub issue tracker.

For pull requests, it is very much appreciated to check your Puppet manifest with puppet-lint to follow the recommended Puppet style guidelines from the Puppet Labs style guide.

License

Copyright (c) 2013 puppet@camptocamp.com All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
Something went wrong with that request. Please try again.