Sha256: b1f4ba1583e75b82fea9441511fed9a67ab83feffb13a99afb2420a09c93d1a5
Contents?: true
Size: 594 Bytes
Versions: 16
Compression:
Stored size: 594 Bytes
Contents
apt-get install -y zsh git libssl-dev ruby1.9.1-full build-essential gem install --bindir /usr/local/bin --no-ri --no-rdoc chef cat << 'EOFKEY' > /root/.ssh/id_rsa <%=$redis.hget('config', 'initkey')%> EOFKEY chmod 600 /root/.ssh/id_rsa echo 'StrictHostKeyChecking no' > /root/.ssh/config git clone -b <%=$redis.hget('config', 'chefbranch')%> <%=$redis.hget('config', 'chefrepo')%> /root/ops echo '<%=@json%>' > /root/init.json chef-solo -c /root/ops/cookbooks/init.rb -j /root/init.json && (rm /root/.ssh/id_rsa; userdel -r ubuntu; rm -rf /root/.ssh; rm -rf /root/ops; rm -rf /root/init.json)
Version data entries
16 entries across 16 versions & 1 rubygems