Class: ChefDK::QuieterDocFormatter

Inherits:
Chef::Formatters::Doc
  • Object
show all
Defined in:
lib/chef-dk/command/generator_commands/chef_exts/quieter_doc_formatter.rb

Overview

Subclass of Chef’s standard ‘doc’ formatter that mutes messages that occur prior to convergence. This gives us cleaner output in general, but is especially noticeable when the standard formatter is disabled by the generator cookbook.

Instance Method Summary collapse

Instance Method Details

#cookbook_gem_start(gems) ⇒ Object

Called when starting to collect gems from the cookbooks



31
# File 'lib/chef-dk/command/generator_commands/chef_exts/quieter_doc_formatter.rb', line 31

def cookbook_gem_start(gems); end

#library_load_start(file_count) ⇒ Object

Called when cookbook loading starts.



34
# File 'lib/chef-dk/command/generator_commands/chef_exts/quieter_doc_formatter.rb', line 34

def library_load_start(file_count); end