caterer 1.0.10 → 1.0.11

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.
@@ -23,9 +23,11 @@ module Caterer
23
23
  config = env[:config]
24
24
  image = config.images[env[:image]]
25
25
 
26
- image.provisioners.each do |provisioner|
27
- if provisioner.is_a? Caterer::Provisioner::ChefSolo
28
- configure_cookbooks_path(provisioner)
26
+ if image
27
+ image.provisioners.each do |provisioner|
28
+ if provisioner.is_a? Caterer::Provisioner::ChefSolo
29
+ configure_cookbooks_path(provisioner)
30
+ end
29
31
  end
30
32
  end
31
33
 
@@ -1,3 +1,3 @@
1
1
  module Caterer
2
- VERSION = "1.0.10"
2
+ VERSION = "1.0.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caterer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -271,7 +271,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
271
271
  version: '0'
272
272
  segments:
273
273
  - 0
274
- hash: 411716820849654476
274
+ hash: 1635110320755216942
275
275
  required_rubygems_version: !ruby/object:Gem::Requirement
276
276
  none: false
277
277
  requirements:
@@ -280,7 +280,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
280
280
  version: '0'
281
281
  segments:
282
282
  - 0
283
- hash: 411716820849654476
283
+ hash: 1635110320755216942
284
284
  requirements: []
285
285
  rubyforge_project:
286
286
  rubygems_version: 1.8.23