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

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

Overview

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'))


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

class profile::openstack::base::radosgw(
    String $version = lookup('profile::openstack::base::version'),
    ) {
    require profile::ceph::auth::deploy

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

    include ::network::constants
    $prod_networks = join($network::constants::production_networks, ' ')
    $labs_networks = join($network::constants::labs_networks, ' ')

    ferm::rule {'radosgw_api':
        ensure => 'present',
        rule   => "saddr (${prod_networks} ${labs_networks}
                             ) proto tcp dport (28080) ACCEPT;",
    }
}