Puppet Class: profile::ceph::client::rbd_cloudcontrol

Defined in:
modules/profile/manifests/ceph/client/rbd_cloudcontrol.pp

Overview

SPDX-License-Identifier: Apache-2.0

Parameters:

  • enable_v2_messenger (Boolean) (defaults to: lookup('profile::ceph::client::rbd::enable_v2_messenger'))
  • mon_hosts (Hash[String,Hash]) (defaults to: lookup('profile::ceph::mon::hosts'))
  • cluster_networks (Array[Stdlib::IP::Address]) (defaults to: lookup('profile::ceph::cluster_networks'))
  • public_networks (Array[Stdlib::IP::Address]) (defaults to: lookup('profile::ceph::public_networks'))
  • data_dir (Stdlib::Unixpath) (defaults to: lookup('profile::ceph::data_dir'))
  • fsid (String) (defaults to: lookup('profile::ceph::fsid'))
  • ceph_repository_component (String) (defaults to: lookup('profile::ceph::ceph_repository_component'))
  • radosgw_port (Stdlib::Port) (defaults to: lookup('profile::ceph::client::rbd::radosgw_port'))
  • keystone_internal_uri (String) (defaults to: lookup('profile::ceph::client::rbd::keystone_internal_uri'))
  • radosgw_service_user (String) (defaults to: lookup('profile::ceph::client::rbd::radosgw_service_user'))
  • radosgw_service_user_project (String) (defaults to: lookup('profile::ceph::client::rbd::radosgw_service_user_project'))
  • radosgw_service_user_pass (String) (defaults to: lookup('profile::ceph::client::rbd::radosgw_service_user_pass'))


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# File 'modules/profile/manifests/ceph/client/rbd_cloudcontrol.pp', line 2

class profile::ceph::client::rbd_cloudcontrol(
    Boolean                    $enable_v2_messenger          = lookup('profile::ceph::client::rbd::enable_v2_messenger'),
    Hash[String,Hash]          $mon_hosts                    = lookup('profile::ceph::mon::hosts'),
    Array[Stdlib::IP::Address] $cluster_networks             = lookup('profile::ceph::cluster_networks'),
    Array[Stdlib::IP::Address] $public_networks              = lookup('profile::ceph::public_networks'),
    Stdlib::Unixpath           $data_dir                     = lookup('profile::ceph::data_dir'),
    String                     $fsid                         = lookup('profile::ceph::fsid'),
    String                     $ceph_repository_component    = lookup('profile::ceph::ceph_repository_component'),
    Stdlib::Port               $radosgw_port                 = lookup('profile::ceph::client::rbd::radosgw_port'),
    String                     $keystone_internal_uri        = lookup('profile::ceph::client::rbd::keystone_internal_uri'),
    String                     $radosgw_service_user         = lookup('profile::ceph::client::rbd::radosgw_service_user'),
    String                     $radosgw_service_user_project = lookup('profile::ceph::client::rbd::radosgw_service_user_project'),
    String                     $radosgw_service_user_pass    = lookup('profile::ceph::client::rbd::radosgw_service_user_pass'),
) {

    class { 'ceph::common':
        home_dir                  => $data_dir,
        ceph_repository_component => $ceph_repository_component,
    }

    class { 'ceph::config':
        cluster_networks             => $cluster_networks,
        enable_libvirt_rbd           => false,
        enable_v2_messenger          => $enable_v2_messenger,
        fsid                         => $fsid,
        mon_hosts                    => $mon_hosts,
        public_networks              => $public_networks,
        radosgw_port                 => $radosgw_port,
        keystone_internal_uri        => $keystone_internal_uri,
        radosgw_service_user         => $radosgw_service_user,
        radosgw_service_user_project => $radosgw_service_user_project,
        radosgw_service_user_pass    => $radosgw_service_user_pass,
    }
}