Puppet Class: profile::cloudceph::auth::deploy

Defined in:
modules/profile/manifests/cloudceph/auth/deploy.pp

Overview

SPDX-License-Identifier: Apache-2.0 This profile deploys but does not load the given authorizations. You only need one of profile::cloudceph::auth::load_all or profile::cloudceph::auth::deploy, the first will also deploy all known auths.

Parameters:

  • configuration (Ceph::Auth::Conf) (defaults to: lookup('profile::cloudceph::auth::deploy::configuration'))
  • selected_creds (Array[String[1]]) (defaults to: lookup('profile::cloudceph::auth::deploy::selected_creds'))
  • enabled (Boolean) (defaults to: lookup('profile::cloudceph::auth::deploy::enabled'))


4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'modules/profile/manifests/cloudceph/auth/deploy.pp', line 4

class profile::cloudceph::auth::deploy (
    Ceph::Auth::Conf  $configuration  = lookup('profile::cloudceph::auth::deploy::configuration'),
    Array[String[1]]  $selected_creds = lookup('profile::cloudceph::auth::deploy::selected_creds'),
    # this is temporary to allow a gradual deployment
    Boolean           $enabled        = lookup('profile::cloudceph::auth::deploy::enabled'),
) {
    if ($enabled) {
        class { 'ceph::auth::deploy':
            configuration  => $configuration,
            selected_creds => $selected_creds,
        }
    }
}