petems/vagrant-puppet-install

View on GitHub
lib/vagrant-puppet-install.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'vagrant'
require 'vagrant-puppet-install/plugin'
require 'vagrant-puppet-install/config'

module VagrantPlugins
  #
  module PuppetInstall
    def self.source_root
      @source_root ||= Pathname.new(File.expand_path('../../', __FILE__))
    end

    I18n.load_path << File.expand_path('locales/en.yml', source_root)
    I18n.reload!
  end
end