Puppet Class: scap::ferm

Defined in:
modules/scap/manifests/ferm.pp

Overview

SPDX-License-Identifier: Apache-2.0

Class scap::ferm

Allows ssh access from $DEPLOYMENT_HOSTS

Parameters:

  • ensure (Wmflib::Ensure) (defaults to: 'present')


5
6
7
8
9
10
11
12
13
# File 'modules/scap/manifests/ferm.pp', line 5

class scap::ferm(Wmflib::Ensure $ensure = 'present') {
    # allow ssh from deployment hosts
    ferm::service { 'deployment-ssh':
        ensure => $ensure,
        proto  => 'tcp',
        port   => 'ssh',
        srange => '$DEPLOYMENT_HOSTS',
    }
}