Puppet Class: profile::opensearch::cirrus::relforge
- Defined in:
- modules/profile/manifests/opensearch/cirrus/relforge.pp
Overview
SPDX-License-Identifier: Apache-2.0
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'modules/profile/manifests/opensearch/cirrus/relforge.pp', line 2
class profile::opensearch::cirrus::relforge (
Array[Stdlib::IP::Address] $cumin_masters = lookup('cumin_masters'),
) {
include ::profile::opensearch::cirrus::server
# the relforge cluster is serving labs, it should never be connected from
# production, except from cumin masters to run cookbooks
$srange = join($cumin_masters, ' ')
::ferm::service {
default:
ensure => present,
proto => 'tcp',
srange => "(${srange})",
;
'elastic-main-https-9243':
port => '9243',
;
'elastic-small-alpha-https-9443':
port => '9443',
;
}
}
|