Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 18 lines (13 sloc) 0.516 kb
cebc463 Reid Draper putting it on github
authored
1 #!/bin/bash
2 set -e -x
3 exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1
4 export DEBIAN_FRONTEND=noninteractive
5
6 apt-get update && apt-get upgrade -y
7
8 apt-get install -y wget
9
10 wget http://downloads.basho.com/riak/riak-0.14/riak_0.14.0-1_i386.deb
11 dpkg -i riak_0.14.0-1_i386.deb
12
13 sudo wget "https://riak-cluster-chef.s3.amazonaws.com/app.config"
14 sudo wget "https://riak-cluster-chef.s3.amazonaws.com/vm.args"
15 cat app.config > /etc/riak/app.config
16 cat vm.args > /etc/riak/vm.args
17 riak start
Something went wrong with that request. Please try again.