File: quota.pp

package info (click to toggle)
puppet-module-magnum 27.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,160 kB
  • sloc: ruby: 2,824; python: 33; makefile: 21; sh: 10
file content (19 lines) | stat: -rw-r--r-- 413 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# == 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']
) {
  include magnum::deps

  magnum_config {
    'quotas/max_clusters_per_project': value => $max_clusters_per_project;
  }
}