Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
class common::monitor { if $nrpe_mailq_warn { $mailq_warn = $nrpe_mailq_warn } else { $mailq_warn = "5" } if $nrpe_mailq_crit { $mailq_crit = $nrpe_mailq_crit } else { $mailq_crit = "10" } nagios::nrpe_command{ "check_mailq": command => "check_mailq", parameters => "-M exim -w ${mailq_warn} -c ${mailq_crit}" } }
This paste will be private.
From the Design Piracy series on my blog: