Puppet Function: wmflib::have_puppetdb

Defined in:
modules/wmflib/functions/have_puppetdb.pp
Function type:
Puppet Language

Summary

function to check if puppetdb is available

Overview

wmflib::have_puppetdb()Boolean

SPDX-License-Identifier: Apache-2.0

Returns:

  • (Boolean)


3
4
5
6
# File 'modules/wmflib/functions/have_puppetdb.pp', line 3

function wmflib::have_puppetdb >> Boolean {
    # TODO: there should be a better way to do this
    $settings::storeconfigs == true and $settings::storeconfigs_backend == 'puppetdb'
}