Puppet Function: postgresql::default
- Defined in:
-
functions/default.pp
- Function type:
- Puppet Language
Summary
This function pull default values from the `params` class or `globals` class if the value is not present in `params`.
Overview
postgresql::default(String $parameter_name) ⇒ Any
6
7
8
9
10
11
12
13
14
15
|
# File 'functions/default.pp', line 6
function postgresql::default(
String $parameter_name
) {
include postgresql::params
pick( getvar("postgresql::params::${parameter_name}"),
"postgresql::globals::${parameter_name}")
}
|