Sha256: 76e20cdaa721e42817dbe9b21e1b82026f5208e0803f55cb3612f5fdf2879b68

Contents?: true

Size: 611 Bytes

Versions: 1

Compression:

Stored size: 611 Bytes

Contents

apt-get update
apt-get install -ymq zsh git libssl-dev ruby1.9.1-full build-essential
curl -LO https://www.getchef.com/chef/install.sh -v <%= @chef_version %>
bash install.sh

cat << 'EOFKEY' > /root/.ssh/id_rsa
<%= @initkey %>
EOFKEY
chmod 600 /root/.ssh/id_rsa
echo 'StrictHostKeyChecking no' > /root/.ssh/config
git clone -b <%= @chef_branch %> <%= @chef_repo %> /root/ops
echo '<%= @json %>' > /root/init.json
chef-solo -c /root/ops/cookbooks/init.rb -j /root/init.json -E <%= @chef_environment %> && \
    (rm /root/.ssh/id_rsa; rm /root/install.sh; userdel -r ubuntu; rm -rf /root/.ssh; rm -rf /root/ops)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gaptool-server-0.5.18 lib/views/init.erb