Class: Cyclid::API::Plugins::Provisioner

Inherits:
Base
  • Object
show all
Defined in:
app/cyclid/plugins/provisioner.rb

Overview

Base class for Provisioner plugins

Direct Known Subclasses

Centos, Debian, Fedora, RHEL, Ubuntu

Class Method Summary collapse

Instance Method Summary collapse

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_nameObject

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