File: docker_registry.pp

package info (click to toggle)
puppet-module-magnum 25.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,180 kB
  • sloc: ruby: 2,768; python: 38; makefile: 21; sh: 10
file content (25 lines) | stat: -rw-r--r-- 699 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# == Class: magnum::docker_registry
#
# Setup magnum docker_registry.
#
# === Parameters
#
# [*swift_region*]
#   (optional) Region name of Swift.
#   Defaults to $facts['os_service_default']
#
# [*swift_registry_container*]
#   (optional) Name of the container in Swift which docker registry stores
#   images in.
#   Defaults to $facts['os_service_default']
#
class magnum::docker_registry (
  $swift_region             = $facts['os_service_default'],
  $swift_registry_container = $facts['os_service_default'],
) {

  magnum_config {
    'docker_registry/swift_region':             value => $swift_region;
    'docker_registry/swift_registry_container': value => $swift_registry_container;
  }
}