Use the more canonical require_relative to include files

This commit is contained in:
Ben Hines 2014-09-15 21:49:37 -07:00
parent bde0e3fb2a
commit 1a6805d469
1 changed files with 4 additions and 4 deletions

View File

@ -10,22 +10,22 @@ module VagrantPlugins
DESC
config(:puppet, :provisioner) do
require File.expand_path("../config/puppet", __FILE__)
require_relative "config/puppet"
Config::Puppet
end
config(:puppet_server, :provisioner) do
require File.expand_path("../config/puppet_server", __FILE__)
require_relative "config/puppet_server"
Config::PuppetServer
end
provisioner(:puppet) do
require File.expand_path("../provisioner/puppet", __FILE__)
require_relative "provisioner/puppet"
Provisioner::Puppet
end
provisioner(:puppet_server) do
require File.expand_path("../provisioner/puppet_server", __FILE__)
require_relative "provisioner/puppet_server"
Provisioner::PuppetServer
end
end