Sha256: 6d65b72f84c7d460a893d1d050379f1d1dff34797db64ae39a3d50bb0c71d248

Contents?: true

Size: 611 Bytes

Versions: 11

Compression:

Stored size: 611 Bytes

Contents

apt-get update
apt-get install -ymq 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

11 entries across 11 versions & 1 rubygems

Version Path
gaptool-server-0.5.0 lib/views/init.erb
gaptool-server-0.4.14 lib/views/init.erb
gaptool-server-0.4.13 lib/views/init.erb
gaptool-server-0.4.12 lib/views/init.erb
gaptool-server-0.4.11 lib/views/init.erb
gaptool-server-0.4.10 lib/views/init.erb
gaptool-server-0.4.9 lib/views/init.erb
gaptool-server-0.4.8 lib/views/init.erb
gaptool-server-0.4.7 lib/views/init.erb
gaptool-server-0.4.6 lib/views/init.erb
gaptool-server-0.4.5 lib/views/init.erb