Sha256: d72bef05112a4e587f5969bd23e473bc5fa2359d0dcd0de3a1be77fc9647e1fc
Contents?: true
Size: 721 Bytes
Versions: 8
Compression:
Stored size: 721 Bytes
Contents
module VagrantPlugins module DockerComposeProvisioner class Installer def initialize(machine, config) @machine = machine @config = config end def ensure_installed @machine.ui.detail(I18n.t(:checking_installation)) if !@machine.guest.capability(:docker_compose_installed, @config) @machine.ui.detail(I18n.t(:installing)) @machine.guest.capability(:docker_compose_install, @config) if !@machine.guest.capability(:docker_compose_installed, @config) raise DockerComposeError, :install_failed end end @machine.guest.capability(:docker_compose_set_project_name, @config) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems