puppet-magnum/manifests/quota.pp
Takashi Kajinami e7200ad4e0 Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: I60600b673171f0e616d48680001dbc1e17c2a3aa
2023-03-02 11:33:13 +09:00

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;
}
}