Require the files, not puts them... its late.
This commit is contained in:
parent
2a6c9a762a
commit
5598a260c2
|
@ -11,10 +11,10 @@ end
|
||||||
# The vagrant specific files which must be loaded prior to the rest
|
# The vagrant specific files which must be loaded prior to the rest
|
||||||
%w{vagrant/util vagrant/actions/base vagrant/downloaders/base vagrant/actions/runner
|
%w{vagrant/util vagrant/actions/base vagrant/downloaders/base vagrant/actions/runner
|
||||||
vagrant/config vagrant/provisioners/base vagrant/provisioners/chef}.each do |f|
|
vagrant/config vagrant/provisioners/base vagrant/provisioners/chef}.each do |f|
|
||||||
puts File.expand_path(f, libdir)
|
require File.expand_path(f, libdir)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Glob require the rest
|
# Glob require the rest
|
||||||
Dir[File.join(libdir, "vagrant", "**", "*.rb")].each do |f|
|
Dir[File.join(libdir, "vagrant", "**", "*.rb")].each do |f|
|
||||||
puts File.expand_path(f)
|
require File.expand_path(f)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue