Class: Kitchen::Provisioner::ChefZeroCaptureSandbox
- Inherits:
-
Chef::CommonSandbox
- Object
- Chef::CommonSandbox
- Kitchen::Provisioner::ChefZeroCaptureSandbox
- Defined in:
- lib/kitchen/provisioner/chef_zero_capture.rb
Overview
For use in a provisioner that does not do any run list evaluation or policy/berks file expansion.
Instance Method Summary collapse
- #populate ⇒ Object
-
#prepare_cookbooks ⇒ Object
Override #prepare_cookbooks because we don’t want any cookbook resolving to occur via kitchen through berks, policy.
Instance Method Details
#populate ⇒ Object
27 28 29 30 31 32 |
# File 'lib/kitchen/provisioner/chef_zero_capture.rb', line 27 def populate super prepare(:policies) prepare(:policy_groups) prepare(:cookbook_artifacts) end |
#prepare_cookbooks ⇒ Object
Override #prepare_cookbooks because we don’t want any cookbook resolving to occur via kitchen through berks, policy
36 37 38 39 |
# File 'lib/kitchen/provisioner/chef_zero_capture.rb', line 36 def prepare_cookbooks cp_cookbooks filter_only_cookbook_files end |