From acc9c116e525ff7746d553522237cdd0720be885 Mon Sep 17 00:00:00 2001 From: root <root@alpha.(none)> Date: Sun, 24 Oct 2010 19:22:15 +0000 Subject: [PATCH] Add a cookbook to run after bundling to install everything --- Gemfile | 1 + Gemfile.lock | 31 ++++++++++++++++++++++++++ chef/cookbooks/main/main.json | 1 + chef/cookbooks/main/recipes/default.rb | 3 +++ 4 files changed, 36 insertions(+) create mode 100644 chef/cookbooks/main/main.json create mode 100644 chef/cookbooks/main/recipes/default.rb diff --git a/Gemfile b/Gemfile index 83cb3ea087..0417dfc05d 100644 --- a/Gemfile +++ b/Gemfile @@ -3,6 +3,7 @@ source 'http://rubygems.org' gem 'rails', '>= 3.0.0' gem 'bundler', '>= 1.0.0' +gem "chef" #Security gem 'devise', '1.1.3' diff --git a/Gemfile.lock b/Gemfile.lock index 6d809ac874..f02228bd7a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -108,6 +108,7 @@ GEM bson (1.1) bson_ext (1.1) builder (2.1.2) + bunny (0.6.0) capistrano (2.5.19) highline net-scp (>= 1.0.0) @@ -121,6 +122,20 @@ GEM rack (>= 1.0.0) rack-test (>= 0.5.4) selenium-webdriver (>= 0.0.3) + chef (0.9.12) + bunny (>= 0.6.0) + erubis + extlib + highline + json (>= 1.4.4, <= 1.4.6) + mixlib-authentication (>= 1.1.0) + mixlib-cli (>= 1.1.0) + mixlib-config (>= 1.1.2) + mixlib-log (>= 1.2.0) + moneta + ohai (>= 0.5.7) + rest-client (>= 1.0.4, < 1.7.0) + uuidtools childprocess (0.1.3) ffi (~> 0.6.3) columnize (0.3.1) @@ -148,6 +163,7 @@ GEM erubis (2.6.6) abstract (>= 1.0.0) eventmachine (0.12.10) + extlib (0.9.15) factory_girl (1.3.2) factory_girl_rails (1.0) factory_girl (~> 1.3) @@ -175,8 +191,14 @@ GEM rest-client mini_magick (2.3) subexec (~> 0.0.4) + mixlib-authentication (1.1.4) + mixlib-log + mixlib-cli (1.2.0) + mixlib-config (1.1.2) + mixlib-log (1.2.0) mocha (0.9.8) rake + moneta (0.6.0) mongo (1.1) bson (>= 1.0.5) net-scp (1.0.4) @@ -187,6 +209,13 @@ GEM net-ssh-gateway (1.0.1) net-ssh (>= 1.99.1) nokogiri (1.4.3.1) + ohai (0.5.8) + extlib + json (>= 1.4.4, <= 1.4.6) + mixlib-cli + mixlib-config + mixlib-log + systemu plucky (0.3.6) mongo (~> 1.1) polyglot (0.3.1) @@ -238,6 +267,7 @@ GEM json_pure rubyzip subexec (0.0.4) + systemu (1.2.0) term-ansicolor (1.0.5) thin (1.2.7) daemons (>= 1.0.9) @@ -267,6 +297,7 @@ DEPENDENCIES bundler (>= 1.0.0) capybara (~> 0.3.9) carrierwave! + chef cucumber-rails (= 0.3.2) database_cleaner devise (= 1.1.3) diff --git a/chef/cookbooks/main/main.json b/chef/cookbooks/main/main.json new file mode 100644 index 0000000000..9d04fb02bb --- /dev/null +++ b/chef/cookbooks/main/main.json @@ -0,0 +1 @@ +{"recipes": ["main::default" ] } diff --git a/chef/cookbooks/main/recipes/default.rb b/chef/cookbooks/main/recipes/default.rb new file mode 100644 index 0000000000..2cb7037e0b --- /dev/null +++ b/chef/cookbooks/main/recipes/default.rb @@ -0,0 +1,3 @@ +execute "say hello" do + command "echo welcome to diaspora chef" +end -- GitLab