From 0307cc047f253a18a36a23cb128b862e113bf414 Mon Sep 17 00:00:00 2001 From: varac Date: Thu, 5 Nov 2015 13:36:01 +0100 Subject: [bug] [jessie] Don't specify ruby versions because ruby-1.9.3 is not available on jessie. - Related: #6920 --- puppet/modules/site_config/manifests/ruby.pp | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'puppet/modules/site_config/manifests/ruby.pp') diff --git a/puppet/modules/site_config/manifests/ruby.pp b/puppet/modules/site_config/manifests/ruby.pp index 2a720114..5c13233d 100644 --- a/puppet/modules/site_config/manifests/ruby.pp +++ b/puppet/modules/site_config/manifests/ruby.pp @@ -1,14 +1,8 @@ +# install ruby, rubygems and bundler +# configure ruby settings common to all servers class site_config::ruby { Class[Ruby] -> Class[rubygems] -> Class[bundler::install] - class { '::ruby': ruby_version => '1.9.3' } + class { '::ruby': } class { 'bundler::install': install_method => 'package' } include rubygems } - - -# -# Ruby settings common to all servers -# -# Why this way? So that other classes can do 'include site_ruby' without creating redeclaration errors. -# See https://puppetlabs.com/blog/modeling-class-composition-with-parameterized-classes/ -# -- cgit v1.2.3