Version information
This module has been deprecated by its author since Oct 28th 2019.
The reason given was: No longer maintained
The author has suggested puppetlabs-ruby as its replacement.
Start using this module
Documentation
Puppet module: ruby
DEPRECATION NOTICE
This module is no more actively maintained and will hardly be updated.
Please find an alternative module from other authors or consider Tiny Puppet as replacement.
If you want to maintain this module, contact Alessandro Franceschi
This is a Puppet module for ruby It provides only package installation and management
Based on Example42 layouts by Alessandro Franceschi / Lab42
Official site: http://www.example42.com
Official git repository: http://github.com/example42/puppet-ruby
Module development sponsored by AllOver.IO
Released under the terms of Apache 2 License.
This module requires the presence of Example42 Puppi module in your modulepath.
USAGE - Basic management
-
Install ruby with default settings
class { 'ruby': }
-
Install a specific version of ruby package
class { 'ruby': version => '1.0.1', }
-
Install ruby compiling from uptream source. You have to provide a correct version (as available on ftp://ftp.ruby-lang.org/pub/ruby/ ). Note that this will install various prerequite packages and will take some time. Installs ruby to /usr/local/bin
class { 'ruby': version => '1.9.3-p392', compile_from_source => true, }
-
Remove ruby resources
class { 'ruby': absent => true }
-
Module dry-run: Do not make any change on all the resources provided by the module
class { 'ruby': noops => true }
-
Automatically include a custom subclass
class { 'ruby': my_class => 'example42::my_ruby', }
TESTING
Dependencies
- example42/puppi (>= 2.0.0)
Copyright (C) 2013 Alessandro Franceschi / Lab42 for the relevant commits Copyright (C) by the respective authors. Contact Lab42 at: info@lab42.it Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.