Showing posts from February, 2014

Puppet 3.1.1 using Ruby 1.9.3 on Amazon Linux

UPDATE: Amazon Linux is now on Ruby 2.x, so below is DEPRECATED for new Amazon Linux images. But parts may be useful.
yum -y remove rubyyum -y install ruby19gem install --no-rdoc --no-ri puppet --version=3.1.1  /usr/local/bin/puppet -Vadd /usr/local/bin to $PATH of users that need it vi /usr/local/share/gems1.9/gems/facter-1.7.5/lib/facter/ec2.rbchange line 28 to:if (Facter::Util::EC2.can_connect?)Reference: line 28 is much longer  If you manage user passwords with Puppet
yum -y install ruby19-develyum -y groupinstall "Developer Tools"gem install --no-rdoc --no-ri ruby-shadow