Skip to content

Instantly share code, notes, and snippets.

@jarosite
Last active June 24, 2019 10:37
Show Gist options
  • Save jarosite/13922518711217945a5a to your computer and use it in GitHub Desktop.
Save jarosite/13922518711217945a5a to your computer and use it in GitHub Desktop.
Install puppet on amazon linux, after ami lost back compatibility to centos 6.5
#!/bin/bash
yum install ruby18 rubygems18 -y
alternatives --set ruby /usr/bin/ruby1.8
rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm
yum install puppet-3.7.3 -y --disableplugin=priorities
@jarosite
Copy link
Author

jarosite commented Oct 7, 2014

to execute run

curl https://gist.githubusercontent.com/jarosite/13922518711217945a5a/raw/5d78e67fc3c93d03581e87be68cf823c585d6a7b/install_puppet.sh | sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment