Sha256: 9cccf816da337aa3f2d62b7623f53982555be5872d5f07f087ac4de8f3c4b79c

Contents?: true

Size: 510 Bytes

Versions: 22

Compression:

Stored size: 510 Bytes

Contents

docker_registry_config = "/etc/registry/config.yml"
if system.runs_service?("registry") && system.has_file?(docker_registry_config)
  identify "docker-registry", "registry"
  used_port = /.*:(\d\d\d\d+)/.match(system.read_config(docker_registry_config, "addr")).
    to_a.fetch(1, nil)
  port = "#{used_port}:5000"
  parameter "ports", [port]
  parameter "links", ["web"]
  cert = system.read_config(docker_registry_config, "rootcertbundle")
  extract docker_registry_config, "data"
  extract cert, "data"
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
machinery-tool-1.24.1 workload_mapper/docker-registry/clue.rb
machinery-tool-1.24.0 workload_mapper/docker-registry/clue.rb
machinery-tool-1.23.1 workload_mapper/docker-registry/clue.rb
machinery-tool-1.23.0 workload_mapper/docker-registry/clue.rb
machinery-tool-1.22.3 workload_mapper/docker-registry/clue.rb
machinery-tool-1.22.2 workload_mapper/docker-registry/clue.rb
machinery-tool-1.22.1 workload_mapper/docker-registry/clue.rb
machinery-tool-1.22.0 workload_mapper/docker-registry/clue.rb
machinery-tool-1.21.0 workload_mapper/docker-registry/clue.rb
machinery-tool-1.20.0 workload_mapper/docker-registry/clue.rb
machinery-tool-1.19.0 workload_mapper/docker-registry/clue.rb
machinery-tool-1.18.0 workload_mapper/docker-registry/clue.rb
machinery-tool-1.17.0 workload_mapper/docker-registry/clue.rb
machinery-tool-1.16.4 workload_mapper/docker-registry/clue.rb
machinery-tool-1.16.3 workload_mapper/docker-registry/clue.rb
machinery-tool-1.16.2 workload_mapper/docker-registry/clue.rb
machinery-tool-1.16.1 workload_mapper/docker-registry/clue.rb
machinery-tool-1.16.0 workload_mapper/docker-registry/clue.rb
machinery-tool-1.15.0 workload_mapper/docker-registry/clue.rb
machinery-tool-1.14.2 workload_mapper/docker-registry/clue.rb