Class: Packer::Provisioner::Salt
Constant Summary
ANSIBLE, CHEF_CLIENT, CHEF_SOLO, FILE, POWERSHELL, PUPPET_MASTERLESS, PUPPET_SERVER, SALT, SHELL, VALID_PROVISIONER_TYPES, WINDOWS_RESTART, WINDOWS_SHELL
Instance Attribute Summary
Attributes inherited from DataObject
#data, #key_dependencies, #required
Instance Method Summary
collapse
#except, get_provisioner, #only, #override, #pause_before, types
Methods inherited from DataObject
#__add_array_of_array_of_strings, #__add_array_of_hashes, #__add_array_of_ints, #__add_array_of_strings, #__add_boolean, #__add_hash, #__add_integer, #__add_json, #__add_string, #__exclusive_key_error, #add_key_dependencies, #add_required, #deep_copy, #validate, #validate_key_dependencies, #validate_required
Constructor Details
#initialize ⇒ Salt
Returns a new instance of Salt.
8
9
10
11
12
|
# File 'lib/packer/provisioners/salt.rb', line 8
def initialize
super
self.data['type'] = SALT
self.add_required(['local_state_tree'])
end
|
Instance Method Details
#bootstrap_args(args) ⇒ Object
14
15
16
|
# File 'lib/packer/provisioners/salt.rb', line 14
def bootstrap_args(args)
self.__add_string('bootstrap_args', args)
end
|
#local_pillar_roots(dirname) ⇒ Object
18
19
20
|
# File 'lib/packer/provisioners/salt.rb', line 18
def local_pillar_roots(dirname)
self.__add_string('local_pillar_roots', dirname)
end
|
#local_state_tree(dirname) ⇒ Object
22
23
24
|
# File 'lib/packer/provisioners/salt.rb', line 22
def local_state_tree(dirname)
self.__add_string('local_state_tree', dirname)
end
|
#minion_config(filename) ⇒ Object
26
27
28
|
# File 'lib/packer/provisioners/salt.rb', line 26
def minion_config(filename)
self.__add_string('minion_config', filename)
end
|
#skip_bootstrap(bool) ⇒ Object
34
35
36
|
# File 'lib/packer/provisioners/salt.rb', line 34
def skip_bootstrap(bool)
self.__add_boolean('skip_bootstrap', bool)
end
|
#temp_config_dir(dirname) ⇒ Object
30
31
32
|
# File 'lib/packer/provisioners/salt.rb', line 30
def temp_config_dir(dirname)
self.__add_string('temp_config_dir', dirname)
end
|