Class: VagrantPlugins::Ventriloquist::Platforms::Python
- Inherits:
-
VagrantPlugins::Ventriloquist::Platform
- Object
- VagrantPlugins::Ventriloquist::Platform
- VagrantPlugins::Ventriloquist::Platforms::Python
- Defined in:
- lib/ventriloquist/platforms/python.rb
Instance Attribute Summary
Attributes inherited from VagrantPlugins::Ventriloquist::Platform
Instance Method Summary collapse
Methods inherited from VagrantPlugins::Ventriloquist::Platform
Constructor Details
This class inherits a constructor from VagrantPlugins::Ventriloquist::Platform
Instance Method Details
#provision(machine) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/ventriloquist/platforms/python.rb', line 5 def provision(machine) @config[:version] = '3.3.2' if @config[:version] == 'latest' machine.guest.tap do |guest| guest.capability(:pyenv_install) guest.capability(:pyenv_install_python, @config[:version]) end end |