Class: Cyclid::API::Plugins::Provisioner
- Defined in:
- app/cyclid/plugins/provisioner.rb
Overview
Base class for Provisioner plugins
Class Method Summary collapse
-
.human_name ⇒ Object
Return the ‘human’ name for the plugin type.
Instance Method Summary collapse
-
#prepare(_transport, _buildhost, _env = {}) ⇒ Object
Process the environment, performing all of the steps necasary to configure the host according to the given environment; this can include adding repositories, installing packages etc.
Methods inherited from Base
author, config?, config_schema, default_config, get_config, homepage, license, metadata, register_plugin, set_config, update_config, version
Class Method Details
.human_name ⇒ Object
Return the ‘human’ name for the plugin type
25 26 27 |
# File 'app/cyclid/plugins/provisioner.rb', line 25 def self.human_name 'provisioner' end |
Instance Method Details
#prepare(_transport, _buildhost, _env = {}) ⇒ Object
Process the environment, performing all of the steps necasary to configure the host according to the given environment; this can include adding repositories, installing packages etc.
32 33 34 |
# File 'app/cyclid/plugins/provisioner.rb', line 32 def prepare(_transport, _buildhost, _env = {}) false end |