Skip to content
This repository has been archived by the owner on Nov 30, 2017. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rubygems/rubygems-aws
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a718fbd3adf1
Choose a base ref
...
head repository: rubygems/rubygems-aws
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ee1633863820
Choose a head ref
  • 3 commits
  • 5 files changed
  • 1 contributor

Commits on May 25, 2014

  1. Remove the nodes directory

    Sam Kottler committed May 25, 2014
    Copy the full SHA
    5506f59 View commit details
  2. Copy the full SHA
    0f134e1 View commit details
  3. Add the packagecloud recipe

    Sam Kottler committed May 25, 2014
    Copy the full SHA
    ee16338 View commit details
Empty file removed chef/nodes/.gitkeep
Empty file.
Binary file not shown.
3 changes: 2 additions & 1 deletion chef/site-cookbooks/rubygems/metadata.rb
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
license 'MIT'
description 'RubyGems.org specific recipes'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.1'
version '0.1.2'

recipe 'rubygems', 'Default recipes for all nodes'
recipe 'rubygems::balancer', 'Nginx load balancer config'
@@ -15,6 +15,7 @@
recipe 'rubygems::jenkins', 'Configure extra jenkins details'
recipe 'rubygems::monit', 'Configure monit logs and monitors'
recipe 'rubygems::nginx_source', 'Installs nginx from our pre-build package'
recipe 'rubygems::packagecloud', 'Install the rubygems/extra repo from packagecloud'
recipe 'rubygems::papertrail', 'Configures rsyslog to send logs to Papertrail'
recipe 'rubygems::rails', 'Main app recipe'
recipe 'rubygems::rails_nginx', 'nginx config for app server'
6 changes: 6 additions & 0 deletions chef/site-cookbooks/rubygems/recipes/packagecloud.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# install the "extras" repo

execute "add extras repo for the rubygems account on packagecloud" do
command "curl https://packagecloud.io/install/repositories/rubygems/extras/script.deb | sudo bash"
not_if { ::File.exist?("/etc/apt/sources.list.d/rubygems_extras.list") }
end
6 changes: 2 additions & 4 deletions chef/site-cookbooks/rubygems/recipes/stat-update.rb
Original file line number Diff line number Diff line change
@@ -3,8 +3,6 @@
# Recipe:: stat-update.rb
#

package_name = "stat-update_1.1.0_amd64.deb"
include_recipe "rubygems::packagecloud"

cookbook_file "#{Chef::Config[:file_cache_path]}/#{package_name}"

dpkg_package "#{Chef::Config[:file_cache_path]}/#{package_name}"
package "stat-update"