Use require_relative everywhere in plugin entry point
This commit is contained in:
parent
437b5e7a2e
commit
61c921ac6f
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue