Sha256: 110eaf7a51d7c2f955a4a62f3902d780813613f7c9f6dedf8c661fcc9a4cf7c7

Contents?: true

Size: 683 Bytes

Versions: 22

Compression:

Stored size: 683 Bytes

Contents

# install ruby and so on
package 'python-software-properties'

execute 'apt-add-repository ppa:brightbox/ruby-ng && apt-get update' do
  not_if 'test -e /etc/apt/sources.list.d/brightbox-ruby-ng-precise.list'
end

package 'build-essential'

package 'ruby2.1'

package 'ruby2.1-dev'

execute 'gem install bundler' do
  not_if "gem list | grep -q 'bundler '"
end

execute 'bundle install' do
  cwd '/vagrant/app'
end

# supervisor
package 'supervisor'

execute 'reload supervisor' do
  command 'supervisorctl reload'
  action :nothing
end

cookbook_file '/etc/supervisor/conf.d/rackup.conf' do
  notifies :run, 'execute[reload supervisor]'
end

execute 'supervisorctl restart rackup'

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
infrataster-0.3.1 spec/integration/vm/cookbooks/app/recipes/default.rb
infrataster-0.3.0 spec/integration/vm/cookbooks/app/recipes/default.rb
infrataster-0.2.6 spec/integration/vm/cookbooks/app/recipes/default.rb
infrataster-0.2.5 spec/integration/vm/cookbooks/app/recipes/default.rb
infrataster-0.2.4 spec/integration/vm/cookbooks/app/recipes/default.rb
infrataster-0.2.3 spec/integration/vm/cookbooks/app/recipes/default.rb
infrataster-0.2.2 spec/integration/vm/cookbooks/app/recipes/default.rb
infrataster-0.2.1 spec/integration/vm/cookbooks/app/recipes/default.rb
infrataster-0.2.0 spec/integration/vm/cookbooks/app/recipes/default.rb
infrataster-0.2.0.beta1 spec/integration/vm/cookbooks/app/recipes/default.rb
infrataster-0.1.13 spec/integration/vm/cookbooks/app/recipes/default.rb
infrataster-0.1.12 spec/integration/vm/cookbooks/app/recipes/default.rb
infrataster-0.1.11 spec/integration/vm/cookbooks/app/recipes/default.rb
infrataster-0.1.10 spec/integration/vm/cookbooks/app/recipes/default.rb
infrataster-0.1.9 spec/integration/vm/cookbooks/app/recipes/default.rb
infrataster-0.1.8 spec/integration/vm/cookbooks/app/recipes/default.rb
infrataster-0.1.7 spec/integration/vm/cookbooks/app/recipes/default.rb
infrataster-0.1.6 spec/integration/vm/cookbooks/app/recipes/default.rb
infrataster-0.1.5 spec/integration/vm/cookbooks/app/recipes/default.rb
infrataster-0.1.3 spec/integration/vm/cookbooks/app/recipes/default.rb