puppet-magnum/manifests/docker_registry.pp
Takashi Kajinami c8b6273600 Add support for [docker_registry] parameters
Change-Id: I95e3a312cd429d7c95c2c734408f03774e552186
2021-12-17 14:33:27 +09:00

26 lines
671 B
Puppet

# == Class: magnum::docker_registry
#
# Setup magnum docker_registry.
#
# === Parameters
#
# [*swift_region*]
# (optional) Region name of Swift.
# Defaults to $::os_service_default
#
# [*swift_registry_container*]
# (optional) Name of the container in Swift which docker registry stores
# images in.
# Defaults to $::os_service_default
#
class magnum::docker_registry (
$swift_region = $::os_service_default,
$swift_registry_container = $::os_service_default,
) {
magnum_config {
'docker_registry/swift_region': value => $swift_region;
'docker_registry/swift_registry_container': value => $swift_registry_container;
}
}