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

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

Overview

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_network (Stdlib::IP::Address) (defaults to: lookup('profile::ceph::cluster_network'))
  • public_network (Stdlib::IP::Address) (defaults to: lookup('profile::ceph::public_network'))
  • 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'))


1
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
# File 'modules/profile/manifests/ceph/client/rbd_cloudcontrol.pp', line 1

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'),
    Stdlib::IP::Address $cluster_network     = lookup('profile::ceph::cluster_network'),
    Stdlib::IP::Address $public_network      = lookup('profile::ceph::public_network'),
    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_network              => $cluster_network,
        enable_libvirt_rbd           => false,
        enable_v2_messenger          => $enable_v2_messenger,
        fsid                         => $fsid,
        mon_hosts                    => $mon_hosts,
        public_network               => $public_network,
        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,
    }
}