This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Write a new source in the pkgin config file | |
execute 'pkgin_config' do | |
command "echo 'http://release.project-fifo.net/pkg/#{node[:fifo][:release]}/' >>/opt/local/etc/pkgin/repositories.conf" | |
action :run | |
end | |
## Update the pkgin sources | |
execute 'update_pkgin' do | |
command 'pkgin -fy up' | |
action :run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /opt | |
curl -O http://release.project-fifo.net/chunter/rel/chunter-latest.gz | |
gunzip chunter-latest.gz | |
## you need to tyupe yes cause of the newest SmartOS Version | |
sh chunter-latest | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "http://release.project-fifo.net/pkg/rel/" >>/opt/local/etc/pkgin/repositories.conf | |
pkgin -fy up | |
pkgin install snarl sniffle howl wiggle jingles haproxy | |
cp /opt/local/jingles/config/nginx.conf /opt/local/etc/nginx/nginx.conf | |
cp /opt/local/jingles/config/haproxy.cfg /opt/local/etc/haproxy.cfg | |
svcadm enable epmd snarl sniffle howl wiggle nginx haproxy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## install couchdb package | |
package 'couchdb' do | |
version '1.2.0' | |
action :install | |
end | |
## download local.ini | |
cookbook_file '/opt/local/etc/couchdb/local.ini' do | |
source 'local.ini' | |
owner 'root' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Install CouchDB with all necessary packages | |
pkgin in couchdb | |
## /opt/local/etc/couchdb Edit the local.ini | |
[httpd] | |
secure_rewrites = false | |
## /opt/local/etc/couchdb edit the default.ini | |
bind_address = 0.0.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get upgrade | |
## Install vim | |
sudo apt-get install -y vim | |
## Install required packages | |
sudo apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl git-core openssh-server redis-server postfix checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev | |
## Install Python |
NewerOlder