lib/vocker/provisioner.rb in vocker-0.3.3 vs lib/vocker/provisioner.rb in vocker-0.4.0

- old
+ new

@@ -7,10 +7,10 @@ # TODO: Improve handling of vagrant-lxc specifics (like checking for apparmor # profile stuff + autocorrection) class Provisioner < Vagrant.plugin("2", :provisioner) def initialize(machine, config, installer = nil, client = nil) super(machine, config) - @installer = installer || DockerInstaller.new(@machine) + @installer = installer || DockerInstaller.new(@machine, config.version) @client = client || DockerClient.new(@machine) end def provision @logger = Log4r::Logger.new("vagrant::provisioners::vocker")