Puppet Class: profile::base::cloud_production

Defined in:
modules/profile/manifests/base/cloud_production.pp

Summary

install production specific classes for WMCS-owned hosts

Overview

SPDX-License-Identifier: Apache-2.0

Parameters:

  • enable (Boolean) (defaults to: lookup('profile::base::production::enable'))

    weather to enable or disable this profile. This is most often used to disable this profile

    in cloud environments which directly include a role

    class



5
6
7
8
9
10
11
12
# File 'modules/profile/manifests/base/cloud_production.pp', line 5

class profile::base::cloud_production (
    Boolean $enable = lookup('profile::base::production::enable'),  # Use the same base::production key
) {
    if $enable {
        # Add additional WMCS-specific setting for hosts in the production realm
        include profile::cumin::cloud_target
    }
}