linecook-gem 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/linecook/provisioner/chef-zero.rb +3 -1
- data/lib/linecook/version.rb +1 -1
- 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: 7815ff8ae111c025249cb8daa3a2414309a701ae
|
4
|
+
data.tar.gz: 1e03637093ea8c3b20b4689ad716a3d1b9096428
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f954ea3315ba81315895d9a85842b4241adb71dc943c9576228bb03c62bb3e7147e797417a545b54f8bfda864f1663bec75f3236856327ffd0d94a4c057efa5
|
7
|
+
data.tar.gz: c9ce12f80e0e5a3c25d8cf1fd2903d1197873e9d409b9410393e96f079a7a09c6d907b1bc5d6605d05ee2f65689332df3548d3b247b6e2061dd7b505c49bd7aa
|
@@ -103,8 +103,10 @@ module Linecook
|
|
103
103
|
puts 'Regenerating cookbook cache'
|
104
104
|
begin
|
105
105
|
Chefdepartie.run(background: true, config: Linecook.config[:chef], cache: CACHE_PATH)
|
106
|
-
rescue
|
106
|
+
rescue => e
|
107
|
+
puts e.message
|
107
108
|
puts 'Cache tainted, rebuilding completely'
|
109
|
+
Chefdepartie.stop
|
108
110
|
FileUtils.rm_rf(CACHE_PATH)
|
109
111
|
Chefdepartie.run(background: true, config: Linecook.config[:chef], cache: CACHE_PATH)
|
110
112
|
ensure
|
data/lib/linecook/version.rb
CHANGED