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 ruby
- yum -y install ruby19
- gem install --no-rdoc --no-ri puppet --version=3.1.1
- /usr/local/bin/puppet -V
- add /usr/local/bin to $PATH of users that need it
- vi /usr/local/share/gems1.9/gems/facter-1.7.5/lib/facter/ec2.rb
- change line 28 to:
- if (Facter::Util::EC2.can_connect?)
- Reference:
http://projects.puppetlabs.com/issues/7559
- existing line 28 is much longer
If you manage user passwords with Puppet
- yum -y install ruby19-devel
- yum -y groupinstall "Developer Tools"
- gem install --no-rdoc --no-ri ruby-shadow
No comments:
Post a Comment
Note: only a member of this blog may post a comment.