module VagrantPlugins::DigitalOcean

Constants

VERSION

Public Class Methods

public_key(private_key_path) click to toggle source
# File lib/vagrant-digitalocean.rb, line 11
def self.public_key(private_key_path)
  File.read("#{private_key_path}.pub") 
rescue
  raise Errors::PublicKeyError, :path => "#{private_key_path}.pub"
end
source_root() click to toggle source
# File lib/vagrant-digitalocean.rb, line 7
def self.source_root
  @source_root ||= Pathname.new(File.expand_path('../../', __FILE__))
end