Closed dkowis closed 10 years ago
I installed puppet from the puppetlabs repo:
# yum info puppet
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Installed Packages
Name : puppet
Arch : noarch
Version : 3.6.2
Release : 1.el6
Size : 4.2 M
Repo : installed
From repo : puppetlabs-products
Summary : A network tool for managing many disparate systems
URL : http://puppetlabs.com
License : ASL 2.0
For those looking to upgrade puppet and ruby:
yum remove -y ruby facter puppet
curl -L get.rvm.io | bash -s stable
/usr/local/rvm/bin/rvm install ruby-1.9.3
/usr/local/rvm/bin/rvm pkg install zlib
/usr/local/rvm/bin/rvm reinstall all --force
Logout log in again
yum install augeas-libs augeas-devel compat-readline5 libselinux-ruby
rvm use 1.9.3 --default
gem install ruby-augeas
gem install facter
gem install puppet
gem install bundler
gem install librarian-puppet
or stick to version 1.0.x, it's in the changelog
Derp, sorry.
@carlossg I must be incredibly dense; I can't find that changelog entry. Can you call it out, please?
@blalor ruby 1.9 is required in librarian 1.1 https://github.com/rodjek/librarian-puppet/blob/master/Changelog.md#110
Accesing the v3 API requires Ruby 1.9 due to the puppet_forge library used
When you have Ruby 1.8.7 install librarian-puppet with:
gem install librarian-puppet -v 1.0.3
Ok, I understand. I don't think it's clear that 1.x is still usable/viable/supported, and that changelog comment doesn't say that I can't use librarian-puppet on 1.8.7, only that the v3 API requires it.
Ran into this today, the docs could use some clarification on this.
I know 1.8.7 is dead and gone, but that's what ships with Centos6.5 still, and it's the ruby version that puppet is pulling in.
So I can't actually install librarian-puppet if I wish to use it with a centos 6.5 puppetmaster, at least not without installing a different version of ruby than is generally packaged.