Sha256: b37de49ca4bfa40d56ad6519968a483c10a44a7ba54a34a547c546dc721c1e1a

Contents?: true

Size: 402 Bytes

Versions: 4

Compression:

Stored size: 402 Bytes

Contents

module VagrantPlugins
  module Ventriloquist
    module Platforms
      class NodeJS < Platform
        def provision(machine)
          @config[:version] = '0.10' if @config[:version] == 'latest'
          machine.guest.tap do |guest|
            guest.capability(:nvm_install)
            guest.capability(:nvm_install_nodejs, @config[:version])
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ventriloquist-0.3.2 lib/ventriloquist/platforms/nodejs.rb
ventriloquist-0.3.1 lib/ventriloquist/platforms/nodejs.rb
ventriloquist-0.3.0 lib/ventriloquist/platforms/nodejs.rb
ventriloquist-0.2.1 lib/ventriloquist/platforms/nodejs.rb