c8b6273600
Change-Id: I95e3a312cd429d7c95c2c734408f03774e552186
26 lines
671 B
Puppet
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;
|
|
}
|
|
}
|