I hereby claim:
- I am dstrelau on github.
- I am dstrelau (https://keybase.io/dstrelau) on keybase.
- I have a public key whose fingerprint is 80CF C66C C0F6 921C B8AD 2659 480F E233 F57F F7BA
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| Copyright (c) 2014 Trunk Club, Inc. | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: | |
| The above copyright notice and this permission notice shall be included in |
| require 'formula' | |
| class Rbenv < Formula | |
| homepage 'https://github.com/sstephenson/rbenv' | |
| url 'https://github.com/sstephenson/rbenv/archive/v0.4.0.tar.gz' | |
| sha1 '825ceec55805b8bb80a6d6003fd3cef824d7ff14' | |
| head 'https://github.com/sstephenson/rbenv.git' | |
| def install |
| #!/bin/bash -ex | |
| which curl || sudo apt-get install -y curl | |
| which ruby || sudo apt-get install -y ruby1.9.1 | |
| which mkmf || sudo apt-get install -y ruby1.9.1-dev | |
| which fpm || sudo gem install fpm | |
| export GOROOT=$PWD/go | |
| export PATH=$PATH:$GOROOT/bin | |
| [ -d go ] || curl https://go.googlecode.com/files/go1.1.2.linux-amd64.tar.gz | tar xz | |
| if [ ! -d lumberjack ] ; then |
| NAME=collectd | |
| VERSION=5.4.0 | |
| IDENTIFIER=tc1 | |
| TAR=collectd-$(VERSION).tar.gz | |
| DIR=collectd-$(VERSION) | |
| FAKEROOT=$(PWD)/fakeroot | |
| all: clean dependencies build install package | |
| clean: |
| NAME=redis | |
| PACKAGE_NAME=$(NAME)-server | |
| VERSION=2.6.4 | |
| DOWNLOAD=http://redis.googlecode.com/files/redis-$(VERSION).tar.gz | |
| TARBALL=$(NAME)-$(VERSION).tar.gz | |
| TARDIR=$(NAME)-$(VERSION) | |
| BUILD=$(PWD)/build | |
| .PHONY: default |
| require File.expand_path('../config/application', __FILE__) | |
| require 'rake' | |
| My::Application.load_tasks | |
| namespace :test do | |
| Rake::TestTask.new(:combined) do |t| | |
| t.libs << 'test' | |
| t.pattern = "test/**/*_test.rb" | |
| end |
| source :rubygems | |
| gem 'rails', '3.1.3' # depends on rack 1.3.x | |
| gem 'rack', '1.4.1' |
| group :development do | |
| gem 'execjslint', require: false | |
| end |
| if ['app_master', 'app'].include?(node[:instance_role]) | |
| node[:applications].each do |app, data| | |
| template "/data/#{app}/shared/config/redis.yml"do | |
| source 'redis.yml.erb' | |
| owner node[:owner_name] | |
| group node[:owner_name] | |
| mode 0655 | |
| backup 0 | |
| variables({ | |
| :environment => node[:environment][:framework_env], |