chef_cap 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/chef_cap/version.rb +1 -1
- data/recipes/chef_cap.rb +2 -1
- data/recipes/lib/chef_cap_helper.rb +1 -1
- data/spec/spec_helper.rb +2 -0
- metadata +3 -3
data/lib/chef_cap/version.rb
CHANGED
data/recipes/chef_cap.rb
CHANGED
@@ -190,7 +190,8 @@ namespace :chef do
|
|
190
190
|
end
|
191
191
|
|
192
192
|
task :run_chef_solo do
|
193
|
-
|
193
|
+
debug_flag = ENV['QUIET'] ? '' : '-l debug'
|
194
|
+
run_chef_solo = "env PATH=$PATH:/usr/sbin rvm default exec chef-solo -c /tmp/chef-cap-solo-#{rails_env}.rb -j /tmp/chef-cap-#{rails_env}-`hostname`.json #{debug_flag}"
|
194
195
|
|
195
196
|
unless role_order.empty?
|
196
197
|
role_order.each do |role, dependent_roles|
|
data/spec/spec_helper.rb
CHANGED
@@ -2,6 +2,8 @@ require "rubygems"
|
|
2
2
|
require "rspec"
|
3
3
|
require "json"
|
4
4
|
|
5
|
+
ENV["QUIET"] = "true"
|
6
|
+
|
5
7
|
require File.expand_path(File.join(File.dirname(__FILE__), "..", "recipes", "lib", "chef_dna_parser"))
|
6
8
|
require File.expand_path(File.join(File.dirname(__FILE__), "..", "recipes", "lib", "chef_cap_helper"))
|
7
9
|
require File.expand_path(File.join(File.dirname(__FILE__), "..", "recipes", "lib", "chef_cap_configuration"))
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 8
|
9
|
+
version: 0.1.8
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Case Commons, LLC
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-03-
|
17
|
+
date: 2011-03-09 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|