Puppet Class: profile::ci
- Defined in:
- modules/profile/manifests/ci.pp
Summary
profile to set some global parametersOverview
SPDX-License-Identifier: Apache-2.0
CI profiles need adjustements to be made based on whether the host is the primary one. They can thus use:
include profile::ci
$profile::ci::manager
Which gives them a Boolean to use in conditional statements.
13 14 15 16 17 |
# File 'modules/profile/manifests/ci.pp', line 13
class profile::ci (
Stdlib::Fqdn $manager_host = lookup('profile::ci::manager_host')
) {
$manager = $manager_host == $facts['networking']['fqdn']
}
|