Sha256: d9fa68060ff0adf49792683ec2665533879d7fe16968937d8b10188d7cc35475
Contents?: true
Size: 727 Bytes
Versions: 2
Compression:
Stored size: 727 Bytes
Contents
module VagrantPlugins module DockerComposeProvisioner class Config < Vagrant.plugin("2", :config) attr_accessor :yml, :rebuild, :project_name, :executable, :compose_version def yml=(yml) raise DockerComposeError, :yml_must_be_absolute if !Pathname.new(yml).absolute? @yml = yml end def initialize @executable = UNSET_VALUE @project_name = UNSET_VALUE @compose_version = UNSET_VALUE end def finalize! @executable = "/usr/local/bin/docker-compose" if @executable == UNSET_VALUE @project_name = nil if @project_name == UNSET_VALUE @compose_version = "1.5.0" if @compose_version == UNSET_VALUE end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vagrant-docker-compose-0.0.7 | lib/vagrant-docker-compose/config.rb |
vagrant-docker-compose-0.0.6 | lib/vagrant-docker-compose/config.rb |