2012-04-19 04:53:19 +00:00
|
|
|
require "vagrant"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
2012-07-25 22:11:01 +00:00
|
|
|
module Puppet
|
2012-04-19 04:53:19 +00:00
|
|
|
class Plugin < Vagrant.plugin("1")
|
|
|
|
name "puppet"
|
|
|
|
description <<-DESC
|
|
|
|
Provides support for provisioning your virtual machines with
|
|
|
|
Puppet either using `puppet apply` or a Puppet server.
|
|
|
|
DESC
|
|
|
|
|
2012-05-23 23:07:08 +00:00
|
|
|
provisioner("puppet") do
|
|
|
|
require File.expand_path("../provisioner/puppet", __FILE__)
|
|
|
|
Provisioner::Puppet
|
|
|
|
end
|
|
|
|
|
|
|
|
provisioner("puppet_server") do
|
|
|
|
require File.expand_path("../provisioner/puppet_server", __FILE__)
|
|
|
|
Provisioner::PuppetServer
|
|
|
|
end
|
2012-04-19 04:53:19 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|