Class: Packerman::Dsl::Builders

Inherits:
Packerman::Dsl show all
Includes:
Node
Defined in:
lib/packerman/dsl/builders.rb

Defined Under Namespace

Classes: AmazonChroot, AmazonEbs, AmazonInstance, Docker, Googlecompute, Null

Class Method Summary collapse

Methods included from Node

#initialize, #method_missing, #to_hash, #type

Methods inherited from Packerman::Dsl

register, register_to_repo, to_subclass

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Packerman::Dsl::Node

Class Method Details

.communicator_keysObject



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/packerman/dsl/builders.rb', line 9

def communicator_keys
  [
    :communicator,
    :ssh_host,
    :ssh_port,
    :ssh_username,
    :ssh_password,
    :ssh_private_key_file,
    :ssh_pty,
    :ssh_timeout,
    :ssh_handshake_attempts,
    :ssh_disable_agent,
    :ssh_bastion_host,
    :ssh_bastion_port,
    :ssh_bastion_username,
    :ssh_bastion_password,
    :ssh_bastion_private_key_file,
    :winrm_host,
    :winrm_port,
    :winrm_username,
    :winrm_password,
    :winrm_timeout
  ]
end

.hash_keyObject



5
6
7
# File 'lib/packerman/dsl/builders.rb', line 5

def hash_key
  [:type] + require_keys + optional_keys + communicator_keys
end