Class: Builderator::Interface::Vagrant
- Inherits:
-
Builderator::Interface
- Object
- Builderator::Interface
- Builderator::Interface::Vagrant
- Defined in:
- lib/builderator/interface/vagrant.rb
Overview
Render a temporary Vagrantfile
Instance Method Summary collapse
Methods inherited from Builderator::Interface
berkshelf, #bundled?, #clean, command, #directory, from_gem, packer, #render, template, vagrant, #which, #write
Instance Method Details
#command ⇒ Object
19 20 21 22 23 24 |
# File 'lib/builderator/interface/vagrant.rb', line 19 def command c = '' c << 'ulimit -n 1024; ' if bundled? c << 'VAGRANT_I_KNOW_WHAT_IM_DOING_PLEASE_BE_QUIET=true ' if bundled? c << which end |
#source ⇒ Object
26 27 28 |
# File 'lib/builderator/interface/vagrant.rb', line 26 def source directory.join('Vagrantfile') end |