From 28f4a4c89083392f6bebf781a042963b2a120201 Mon Sep 17 00:00:00 2001 From: Collin Allen Date: Thu, 4 Apr 2013 00:07:30 -0700 Subject: [PATCH] Update 'require' calls to resemble shell provisioner --- plugins/provisioners/ansible/plugin.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/provisioners/ansible/plugin.rb b/plugins/provisioners/ansible/plugin.rb index e18628ac6..0cafe47fb 100644 --- a/plugins/provisioners/ansible/plugin.rb +++ b/plugins/provisioners/ansible/plugin.rb @@ -10,12 +10,12 @@ module VagrantPlugins DESC config(:ansible, :provisioner) do - require_relative "config" + require File.expand_path("../config", __FILE__) Config end provisioner(:ansible) do - require_relative "provisioner" + require File.expand_path("../provisioner", __FILE__) Provisioner end end