Sha256: 25b87913a1e10e1a699c2da261d3b4183e358c5fadaedf978335e5732811d08f

Contents?: true

Size: 438 Bytes

Versions: 6

Compression:

Stored size: 438 Bytes

Contents

module VagrantPlugins
  module DockerComposeProvisioner
    module Cap
      module Linux
        module DockerComposeInstalled
          def self.docker_compose_installed(machine, config)
            paths = [
              config.executable_install_path
            ]

            paths.all? do |p|
              machine.communicate.test("test -f #{p}", sudo: true)
            end
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vagrant-docker-compose-1.5.1 lib/vagrant-docker-compose/cap/linux/docker_compose_installed.rb
vagrant-docker-compose-1.5.0 lib/vagrant-docker-compose/cap/linux/docker_compose_installed.rb
vagrant-docker-compose-1.4.0 lib/vagrant-docker-compose/cap/linux/docker_compose_installed.rb
vagrant-docker-compose-1.2.0 lib/vagrant-docker-compose/cap/linux/docker_compose_installed.rb
vagrant-docker-compose-1.1.0 lib/vagrant-docker-compose/cap/linux/docker_compose_installed.rb
vagrant-docker-compose-1.0.0 lib/vagrant-docker-compose/cap/linux/docker_compose_installed.rb