vagrant/plugins/provisioners/chef/plugin.rb

24 lines
579 B
Ruby
Raw Normal View History

2012-04-19 04:53:19 +00:00
require "vagrant"
module VagrantPlugins
module Chef
2012-11-07 05:21:36 +00:00
class Plugin < Vagrant.plugin("2")
2012-04-19 04:53:19 +00:00
name "chef"
description <<-DESC
Provides support for provisioning your virtual machines with
Chef via `chef-solo` or `chef-client`.
DESC
provisioner("chef_solo") do
require File.expand_path("../provisioner/chef_solo", __FILE__)
Provisioner::ChefSolo
end
provisioner("chef_client") do
require File.expand_path("../provisioner/chef_client", __FILE__)
Provisioner::ChefClient
end
2012-04-19 04:53:19 +00:00
end
end
end