kitchen_hooks 1.7.22 → 1.7.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/kitchen_hooks/helpers.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8c85be26697b96e224393668223cc0feb114d676
|
|
4
|
+
data.tar.gz: 60e7094fe987d478b42de68418360aeb764c9861
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 73e7f45bc57901ad5fbba4885d8a6de7e4d58f48b9492e196885026980e977355f5791e37d6014be763b6a94f858f4eba1c140801d96d0ad0851d353bc085826
|
|
7
|
+
data.tar.gz: 20609000743c5e2c59fc8ace4e7a8124a21d7b5bc9082d0d0489ad7e5cf94020b9326734e2857a05d9d5d6e30edce5b74db6957a2eedac98960aa8c08513541e
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.7.
|
|
1
|
+
1.7.23
|
|
@@ -201,7 +201,7 @@ module KitchenHooks
|
|
|
201
201
|
'--config %s' % Shellwords::escape(berkshelf_config knife)
|
|
202
202
|
end
|
|
203
203
|
|
|
204
|
-
cmd = 'berks install --debug --berksfile %s %s' % [
|
|
204
|
+
cmd = 'berks install --debug --berksfile %s %s 2>&1' % [
|
|
205
205
|
Shellwords::escape(berksfile), knife_args
|
|
206
206
|
]
|
|
207
207
|
begin
|
|
@@ -226,7 +226,7 @@ module KitchenHooks
|
|
|
226
226
|
]
|
|
227
227
|
config_path = berkshelf_config(knife)
|
|
228
228
|
|
|
229
|
-
cmd = 'berks upload --debug --berksfile %s --config %s' % [
|
|
229
|
+
cmd = 'berks upload --debug --berksfile %s --config %s 2>&1' % [
|
|
230
230
|
Shellwords::escape(berksfile), Shellwords::escape(config_path)
|
|
231
231
|
]
|
|
232
232
|
|
|
@@ -277,7 +277,7 @@ module KitchenHooks
|
|
|
277
277
|
|
|
278
278
|
def self.with_each_knife command, knives
|
|
279
279
|
knives.pmap do |k|
|
|
280
|
-
cmd = command % { knife: Shellwords::escape(k) }
|
|
280
|
+
cmd = "#{command} 2>&1" % { knife: Shellwords::escape(k) }
|
|
281
281
|
$stdout.puts 'with_each_knife: %s' % cmd
|
|
282
282
|
out = system cmd
|
|
283
283
|
raise out unless $?.exitstatus.zero?
|