Class: Dapp::Build::Stage::ChefCookbooks
- Defined in:
- lib/dapp/build/stage/chef_cookbooks.rb
Overview
ChefCookbooks
Instance Attribute Summary
Attributes inherited from Base
#application, #next_stage, #prev_stage
Instance Method Summary collapse
- #image ⇒ Object
-
#initialize(application, next_stage) ⇒ ChefCookbooks
constructor
A new instance of ChefCookbooks.
- #signature ⇒ Object
Methods inherited from Base
Methods included from Mod::Logging
#image_info, #log_build, #log_image_commands, #log_image_info, #should_be_introspected?, #should_be_not_detailed?, #should_be_not_present?, #should_be_skipped?, #size_difference?
Methods included from Mod::Artifact
#after_artifacts, #apply_artifact, #artifact_app_options, #artifacts_signatures, #before_artifacts, #do_artifacts, #safe_cp
Methods included from Helper::Trivia
class_to_lowercase, #class_to_lowercase, #delete_file, #kwargs
Methods included from Helper::Sha256
Constructor Details
#initialize(application, next_stage) ⇒ ChefCookbooks
Returns a new instance of ChefCookbooks.
6 7 8 9 |
# File 'lib/dapp/build/stage/chef_cookbooks.rb', line 6 def initialize(application, next_stage) @prev_stage = AppSetup.new(application, self) super end |
Instance Method Details
#image ⇒ Object
15 16 17 18 19 |
# File 'lib/dapp/build/stage/chef_cookbooks.rb', line 15 def image super do |image| application.builder.chef_cookbooks(image) end end |
#signature ⇒ Object
11 12 13 |
# File 'lib/dapp/build/stage/chef_cookbooks.rb', line 11 def signature hashsum [super, *application.builder.chef_cookbooks_checksum] end |