Use require_relative everywhere in plugin entry point

This commit is contained in:
Virgil Dupras 2018-07-24 10:25:08 -04:00
parent 437b5e7a2e
commit 61c921ac6f

View file

@ -10,7 +10,7 @@ module Vagrant
EOF EOF
provider(:lxc, parallel: true, priority: 7) do provider(:lxc, parallel: true, priority: 7) do
require File.expand_path("../provider", __FILE__) require_relative 'provider'
init! init!
Provider Provider
end end
@ -22,13 +22,13 @@ module Vagrant
end end
config(:lxc, :provider) do config(:lxc, :provider) do
require File.expand_path("../config", __FILE__) require_relative 'config'
init! init!
Config Config
end end
synced_folder(:lxc) do synced_folder(:lxc) do
require File.expand_path("../synced_folder", __FILE__) require_relative 'synced_folder'
SyncedFolder SyncedFolder
end end