Module: Kitchen::Provisioner
- Defined in:
- lib/kitchen/provisioner.rb,
lib/kitchen/provisioner/base.rb,
lib/kitchen/provisioner/dummy.rb,
lib/kitchen/provisioner/shell.rb,
lib/kitchen/provisioner/chef_base.rb,
lib/kitchen/provisioner/chef_solo.rb,
lib/kitchen/provisioner/chef_zero.rb,
lib/kitchen/provisioner/chef_apply.rb,
lib/kitchen/provisioner/chef_infra.rb,
lib/kitchen/provisioner/chef_target.rb,
lib/kitchen/provisioner/chef/berkshelf.rb,
lib/kitchen/provisioner/chef/policyfile.rb,
lib/kitchen/provisioner/chef/common_sandbox.rb
Overview
A provisioner is responsible for generating the commands necessary to install set up and use a configuration management tool such as Chef and Puppet.
Defined Under Namespace
Modules: Chef Classes: Base, ChefApply, ChefBase, ChefInfra, ChefSolo, ChefTarget, ChefZero, Dummy, Shell
Constant Summary collapse
- DEFAULT_PLUGIN =
Default provisioner to use
"chef_infra".freeze
Class Method Summary collapse
-
.for_plugin(plugin, config) ⇒ Provisioner::Base
Returns an instance of a provisioner given a plugin type string.
Class Method Details
.for_plugin(plugin, config) ⇒ Provisioner::Base
Returns an instance of a provisioner given a plugin type string.
37 38 39 40 |
# File 'lib/kitchen/provisioner.rb', line 37 def self.for_plugin(plugin, config) plugin, config[:name] = "chef_infra", "chef_infra" if plugin == "chef_zero" Kitchen::Plugin.load(self, plugin, config) end |