File: quota.pp

package info (click to toggle)
puppet-module-magnum 25.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,180 kB
  • sloc: ruby: 2,768; python: 38; makefile: 21; sh: 10
file content (18 lines) | stat: -rw-r--r-- 390 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# == 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;
  }
}