Puppet Function: classification::test_fact_difference_array
- Defined in:
- functions/test_fact_difference_array.pp
- Function type:
- Puppet Language
Summary
If the list of differences has any values fail the run and list the issues.Overview
If the list of differences has any values fail the run and list the issues.
13 14 15 16 17 18 19 20 21 22 |
# File 'functions/test_fact_difference_array.pp', line 13
function classification::test_fact_difference_array(Array $fact_differences) >> Boolean {
$return = true
if $fact_differences.size() > 0 {
fail((["Untrusted facts (left) don't match values from certname (right):"]
+ $fact_differences).join("\n"))
}
$return
}
|