Sha256: 1d93c0b58eee6c9916e1405fad0cc23cf88283bddd89780c428bfbb200b12a90
Contents?: true
Size: 906 Bytes
Versions: 4
Compression:
Stored size: 906 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, version: @config.compose_version)) @machine.guest.capability(:docker_compose_install, @config) if !@machine.guest.capability(:docker_compose_installed, @config) raise DockerComposeError, :install_failed end end @machine.ui.detail(I18n.t(:symlinking, version: @config.compose_version)) @machine.guest.capability(:docker_compose_symlink, @config) @machine.guest.capability(:docker_compose_set_project_name, @config) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems