Skip to content

Instantly share code, notes, and snippets.

View d3zorg's full-sized avatar

Denis Safronenkov d3zorg

View GitHub Profile
@d3zorg
d3zorg / dev.pp
Last active August 29, 2015 14:01 — forked from bavadim/dev.pp
# install soft
$soft = ['wget', 'curl', 'zsh', 'cowsay', 'fortune', 'strace',
'sudo', 'mc', 'make', 'gcc', 'tree', 'ntpdate', 'dh-make',
'debhelper', 'devscripts', 'fakeroot', 'openjdk-7-jdk', 'git',
'storm', 'vim', 'md5deep', 'dpkg', 'debconf', 'lintian']
apt::source { 'edisoft':
location => 'http://10.20.20.75:8080/static/edisoft',
release => 'wheezy',
repos => 'main',
key => 'D5EFD011',
upstream discourse {
#fail_timeout is optional; I throw it in to see errors quickly
server 127.0.0.1:4578 fail_timeout=5;
}
# configure the virtual host
server {
# replace with your domain name
server_name discourse.example.com;