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

Version Path
gaptool-server-0.4.4 lib/views/init.erb
gaptool-server-0.4.3 lib/views/init.erb
gaptool-server-0.4.2 lib/views/init.erb
gaptool-server-0.4.1 lib/views/init.erb
gaptool-server-0.4.0 lib/views/init.erb
gaptool-server-0.3.8 lib/views/init.erb
gaptool-server-0.3.7 lib/views/init.erb
gaptool-server-0.3.6 lib/views/init.erb
gaptool-server-0.3.3 lib/views/init.erb
gaptool-server-0.3.2 lib/views/init.erb
gaptool-server-0.3.1 lib/views/init.erb
gaptool-server-0.3.0 lib/views/init.erb
gaptool-server-0.2.4 lib/views/init.erb
gaptool-server-0.2.3 lib/views/init.erb
gaptool-server-0.2.1 lib/views/init.erb
gaptool-server-0.2.0 lib/views/init.erb