e7200ad4e0
... because the latest lint no longer allows usage of legacy facts and top scope fact. Change-Id: I60600b673171f0e616d48680001dbc1e17c2a3aa
26 lines
699 B
Puppet
26 lines
699 B
Puppet
# == 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;
|
|
}
|
|
}
|