Skip to content

Commit

Permalink
Make it compatible with ~V1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
YungSang committed Apr 14, 2014
1 parent 53e030e commit 0d6d111
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions vagrantfile_virtualbox.tpl
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
require Vagrant.source_root.join("plugins/provisioners/docker/cap/linux/docker_daemon_running.rb")
docker_daemon_running = Vagrant.source_root.join("plugins/provisioners/docker/cap/linux/docker_daemon_running.rb")
if File.exist?(docker_daemon_running)
require docker_daemon_running

module VagrantPlugins
module Docker
module Cap
module Linux
module DockerDaemonRunning
def self.docker_daemon_running(machine)
machine.communicate.test("test -f /var/run/docker.pid")
module VagrantPlugins
module Docker
module Cap
module Linux
module DockerDaemonRunning
def self.docker_daemon_running(machine)
machine.communicate.test("test -f /var/run/docker.pid")
end
end
end
end
Expand Down

0 comments on commit 0d6d111

Please sign in to comment.