Displaying 1 result from an estimated 1 matches for "warn_real".
2012 Sep 24
4
Overriding variables.
...ant parent class to be included in every single node, but
override its variables in others. I have tried it several different ways
now, and every single time the variables either become unset (undefined) or
are set to the value of the first if statement.
Here is my current iteration of failure. warn_real is always equal
to processorcount, no matter if I override it or not.
class nrpe::load ($warn = ''UNSET'', $crit = ''UNSET'') {
package { nagios-plugins-load: ensure => installed }
if $warn == ''UNSET'' {
$warn_real = $processor...