Sha256: ffc9831afc365d71fccd83a0f7b04874ae4fb7201decce7fc9a16be3d050968b
Contents?: true
Size: 379 Bytes
Versions: 15
Compression:
Stored size: 379 Bytes
Contents
require 'droplet_kit' require 'yaml' module Docker SPECIAL_OPTS = ["image", "ports", "command", "post-conditions"] def self.containers_for(host_name) config_file = "#{Ops::CONTAINERS_DIR}/#{host_name}.yml" begin config = YAML.load_file config_file rescue raise "Please, create '#{config_file}' file with all containers configured" end end end
Version data entries
15 entries across 15 versions & 2 rubygems