Guest User

Untitled

a guest
Jan 22nd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin
  4. set -e
  5.  
  6. useradd -M -r puppet
  7. apt-get update
  8. apt-get dist-upgrade
  9. apt-get install -y build-essential zlib1g-dev libssl-dev libreadline-dev git-core curl ntp
  10.  
  11. git clone git://github.com/sstephenson/ruby-build.git /root/ruby-build
  12. cd /root/ruby-build
  13. sh ./install.sh
  14.  
  15. ruby-build 1.9.2-p290 /usr/local
  16. gem install puppet --no-ri --no-rdoc
Add Comment
Please, Sign In to add comment