pfunc: this class is only for testing no need to include it anywhere
pfunc::hex: format an integer as a hex stringpfunc::join: join values of an array into a stringpfunc::md5: calculate the md5 sum of a stringpfunc::nope: just do nothingpfunc::split: split a string into an arraypfunc_lookup
class for testing...
The following parameters are available in the pfunc class:
Data type: Any
result of the pfunc::nope function to print out see data/common.yaml for the function call
Data type: Array
result of the pfunc::split function to print out see data/common.yaml for the function call
Data type: String
result of the pfunc::join function to print out see data/common.yaml for the function call
Data type: String
result of the pfunc::hex function to print out see data/common.yaml for the function call
Type: Puppet Language
format a integer as hex
format a integer as hex
Returns: String hex interpretation of input
Data type: Integer
an integer
Type: Puppet Language
join an Array
join an Array
Returns: String the joined array
Data type: Array
the array to concatenate
Data type: String
string to use inbetween the elements defaults to ','
Type: Puppet Language
calculate md5 sum of a string
calculate md5 sum of a string
Returns: String the md5sum of the string
Data type: String
a string
Type: Puppet Language
do nothing, return parameter as is
do nothing, return parameter as is
Returns: Any the parameter you have set
Data type: Any
just any parameter
Type: Puppet Language
split a string into an Array
split a string into an Array
Returns: Array the splitted array
Data type: String
the string we like to split
Data type: String
the string we use to split on (default ',')
Type: Ruby 4.x API
The pfunc_lookup function.
The pfunc_lookup function.
Returns: Any
Data type: Variant[String, Numeric]
Data type: Hash
Data type: Puppet::LookupContext