Class: Packer::PostProcessor::Vagrant
- Inherits:
-
Packer::PostProcessor
- Object
- DataObject
- Packer::PostProcessor
- Packer::PostProcessor::Vagrant
- Defined in:
- lib/packer/postprocessors/vagrant.rb
Constant Summary
Constants inherited from Packer::PostProcessor
DOCKER_IMPORT, DOCKER_PUSH, DOCKER_SAVE, DOCKER_TAG, VAGRANT, VALID_POST_PROCESSOR_TYPES
Instance Attribute Summary
Attributes inherited from DataObject
#data, #key_dependencies, #required
Instance Method Summary collapse
- #compression_level(level) ⇒ Object
- #include(files) ⇒ Object
-
#initialize ⇒ Vagrant
constructor
A new instance of Vagrant.
- #keep_input_artifact(bool) ⇒ Object
- #output(file) ⇒ Object
- #vagrantfile_template(file) ⇒ Object
Methods inherited from Packer::PostProcessor
#except, get_postprocessor, #only, 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
Instance Method Details
#compression_level(level) ⇒ Object
13 14 15 |
# File 'lib/packer/postprocessors/vagrant.rb', line 13 def compression_level(level) self.__add_integer('compression_level', level) end |
#include(files) ⇒ Object
17 18 19 |
# File 'lib/packer/postprocessors/vagrant.rb', line 17 def include(files) self.__add_array_of_strings('include', files) end |
#keep_input_artifact(bool) ⇒ Object
21 22 23 |
# File 'lib/packer/postprocessors/vagrant.rb', line 21 def keep_input_artifact(bool) self.__add_boolean('keep_input_artifact', bool) end |
#output(file) ⇒ Object
25 26 27 |
# File 'lib/packer/postprocessors/vagrant.rb', line 25 def output(file) self.__add_string('output', file) end |
#vagrantfile_template(file) ⇒ Object
29 30 31 |
# File 'lib/packer/postprocessors/vagrant.rb', line 29 def vagrantfile_template(file) self.__add_string('vagrantfile_template', file) end |