Class: Bourdain::Checks::CookbooksCheck

Inherits:
Check show all
Defined in:
lib/bourdain/resources/checks/cookbooks.rb

Instance Attribute Summary

Attributes inherited from Resource

#opts, #raw_usage, #resource_name, #spec, #status

Instance Method Summary collapse

Methods inherited from Resource

log=, raw_usage, resource_name, usage

Constructor Details

#initialize(cookbook_config) ⇒ CookbooksCheck

Returns a new instance of CookbooksCheck.



11
12
13
14
15
16
17
# File 'lib/bourdain/resources/checks/cookbooks.rb', line 11

def initialize cookbook_config
  super []
  return unless require_kitchen!
  log.info 'Checking cookbooks, this may take a while...'
  check_gitlab_cookbooks! cookbook_config
  check_local_cookbooks! cookbook_config
end