Puppet Class: ceph::params

Inherited by:
ceph::mds
ceph::repo
Defined in:
manifests/params.pp

Overview

Parameters:

  • exec_timeout (Optional[Float[0]]) (defaults to: undef)
  • packages (Any) (defaults to: ['ceph'])
  • rgw_socket_path (Any) (defaults to: '/tmp/radosgw.sock')
  • enable_sig (Any) (defaults to: false)
  • release (Any) (defaults to: 'nautilus')


43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# File 'manifests/params.pp', line 43

class ceph::params (
  Optional[Float[0]] $exec_timeout = undef,
  $packages                          = ['ceph'], # just provide the minimum per default
  $rgw_socket_path                   = '/tmp/radosgw.sock',
  $enable_sig                        = false,
  $release                           = 'nautilus',
) {
  $pkg_mds = 'ceph-mds'

  case $facts['os']['family'] {
    'Debian': {
      $pkg_radosgw         = 'radosgw'
      $user_radosgw        = 'www-data'
      $pkg_policycoreutils = 'policycoreutils'
    }

    'RedHat': {
      $pkg_radosgw         = 'ceph-radosgw'
      $user_radosgw        = 'apache'
      $pkg_policycoreutils = 'policycoreutils-python-utils'
    }

    default: {
      fail("Unsupported osfamily: ${facts['os']['family']}")
    }
  }
}