e7200ad4e0
... because the latest lint no longer allows usage of legacy facts and top scope fact. Change-Id: I60600b673171f0e616d48680001dbc1e17c2a3aa
19 lines
390 B
Puppet
19 lines
390 B
Puppet
# == Class: magnum::quota
|
|
#
|
|
# Setup magnum quota.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*max_clusters_per_project*]
|
|
# (optional) Number of clusters allowed per project.
|
|
# Defaults to $facts['os_service_default'].
|
|
#
|
|
class magnum::quota (
|
|
$max_clusters_per_project = $facts['os_service_default']
|
|
) {
|
|
|
|
magnum_config {
|
|
'quotas/max_clusters_per_project': value => $max_clusters_per_project;
|
|
}
|
|
}
|