Sha256: 083f3beb19e638101ba27caae48932ff8c1f234665ef3edcba80f2dc593ae8b0

Contents?: true

Size: 811 Bytes

Versions: 2

Compression:

Stored size: 811 Bytes

Contents

require 'vagrant'
require 'pe_build/version'

if Vagrant::VERSION < "1.1.0"
  raise "vagrant-pe_build version #{PEBuild::VERSION} requires Vagrant 1.1 or later"
end

module PEBuild
class Plugin < Vagrant.plugin('2')

  name 'pe_build'

  description <<-DESC
  This plugin adds commands and provisioners to automatically install Puppet
  Enterprise on Vagrant guests.
  DESC

  config(:pe_bootstrap, :provisioner) do
    require_relative 'config/pe_bootstrap'
    PEBuild::Config::PEBootstrap
  end

  config(:pe_build) do
    require_relative 'config/global'
    PEBuild::Config::Global
  end

  provisioner(:pe_bootstrap) do
    require_relative 'provisioner/pe_bootstrap'
    PEBuild::Provisioner::PEBootstrap
  end

  command(:'pe-build') do
    require_relative 'command'
    PEBuild::Command
  end
end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-pe_build-0.2.0 lib/pe_build/plugin.rb
vagrant-pe_build-0.1.0 lib/pe_build/plugin.rb