module Puppet::Parser::Functions
corl_include.rb
This function includes classes based on dynamic configurations. following this order
-
Hiera
backend, if present (no prefix) -
::data::default::varname
-
::varname
-
{default parameter}
corl_initialize.rb
Initialize the CORL
plugin system through Puppet
corl_merge.rb
Merges multiple hashes together recursively.
corl_resources.rb
This function adds resource definitions of a specific type to the Puppet
catalog
-
Requires
-
->
Puppet
resource definition name (define) -
->
Hiera
lookup name (full name) -
Optional
-
-> default values for new resources
If no resources are found, it returns without creating anything.
ensure.rb
Checks a given test and returns the success value or a failure value based on test results.
file_exists.rb
global_array.rb
See: global_param.rb
global_hash.rb
See: global_param.rb
global_options.rb
This function sets globally available default options for other functions.
global_param.rb
This function performs a lookup for a variable value in various locations following this order
-
Hiera
backend, if present (no prefix) -
::global::default::varname
-
::varname
-
{default parameter}
interpolate.rb
Interpolate values from one hash to another for configuration injection.
is_false.rb
Checks whether a given string or boolean value is false.
is_true.rb
Checks whether a given string or boolean value is true.
module_array.rb
module_hash.rb
module_options.rb
This function sets module level default options for other functions.
module_param.rb
This function performs a lookup for a variable value in various locations following this order
-
Hiera
backend, if present (modulename prefix) -
::corl::default::{modulename}::{varname} (configurable!!)
-
::{modulename}::default::{varname}
-
{default parameter}
name.rb
Returns a standardized form of a given resource name.
render.rb
Returns the string-ified form of a given value or set of values.
value.rb
Returns the internal form of a given value.