Puppet Function: simplib::in_bolt

Defined in:
functions/in_bolt.pp
Function type:
Puppet Language

Overview

simplib::in_bolt()Boolean

Returns “true“ if the run is active inside of Bolt and “false“ otherwise.

Presently, this function is extremely basic. However, this check was placed here to allow us to update the check in the future without needing to modify more than one module or hunt down code.

Returns:

  • (Boolean)


9
10
11
# File 'functions/in_bolt.pp', line 9

function simplib::in_bolt {
  $environment == 'bolt_catalog'
}