Puppet Class: profile::ceph::client

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

Overview

SPDX-License-Identifier: Apache-2.0 Class: profile::ceph::client

This profile provides common configuration for Ceph clients.

Parameters:

  • mon_hosts (Hash[String,Hash]) (defaults to: lookup('profile::ceph::mon::hosts'))
  • data_dir (Stdlib::Unixpath) (defaults to: lookup('profile::ceph::data_dir', { default_value => '/var/lib/ceph' }))
  • fsid (String) (defaults to: lookup('profile::ceph::fsid'))
  • ceph_repository_component (String) (defaults to: lookup('profile::ceph::ceph_repository_component'))


5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'modules/profile/manifests/ceph/client.pp', line 5

class profile::ceph::client (
    Hash[String,Hash]          $mon_hosts                 = lookup('profile::ceph::mon::hosts'),
    Stdlib::Unixpath           $data_dir                  = lookup('profile::ceph::data_dir', { default_value => '/var/lib/ceph' }),
    String                     $fsid                      = lookup('profile::ceph::fsid'),
    String                     $ceph_repository_component = lookup('profile::ceph::ceph_repository_component'),
    ) {
    require profile::ceph::auth::deploy

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

    class { 'ceph::minimal_config':
        fsid      => $fsid,
        mon_hosts => $mon_hosts,
    }
}