Puppet Class: profile::openstack::base::radosgw

Defined in:
modules/profile/manifests/openstack/base/radosgw.pp

Overview

SPDX-License-Identifier: Apache-2.0 radosgw packages and service. The config is combined with glance/ceph config

and defined in profile::openstack::base::rbd_cloudcontrol

Parameters:

  • version (String) (defaults to: lookup('profile::openstack::base::version'))
  • api_bind_port (Stdlib::Port) (defaults to: lookup('profile::openstack::base::radosgw::api_bind_port'))
  • haproxy_nodes (Array[Stdlib::Fqdn]) (defaults to: lookup('profile::openstack::base::haproxy_nodes'))


4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'modules/profile/manifests/openstack/base/radosgw.pp', line 4

class profile::openstack::base::radosgw(
    String              $version       = lookup('profile::openstack::base::version'),
    Stdlib::Port        $api_bind_port = lookup('profile::openstack::base::radosgw::api_bind_port'),
    Array[Stdlib::Fqdn] $haproxy_nodes = lookup('profile::openstack::base::haproxy_nodes'),
) {
    require profile::cloudceph::auth::deploy

    class { '::openstack::radosgw::service':
        version => $version,
    }

    firewall::service { 'radosgw-api-backend':
        proto  => 'tcp',
        port   => $api_bind_port,
        srange => $haproxy_nodes,
    }
}