Icinga / puppet-icinga2-legacy

(legacy) Puppet module for Icinga 2 (EOL)
GNU General Public License v2.0
55 stars 93 forks source link

Add sudo parameter to checkcommand object #185

Closed erikanderson closed 8 years ago

erikanderson commented 8 years ago

Add sudo parameter to check_command object. Based on this answer:

https://monitoring-portal.org/index.php?thread/33161-icinga2-sudo-und-command/&postID=215251#post215251

erikanderson commented 8 years ago

@arioch any thoughts on this?

erikanderson commented 8 years ago

Bump

arioch commented 8 years ago

Looking good so far. Could you maybe add a little spec test to cover this change?

erikanderson commented 8 years ago

Added spec test @arioch

arioch commented 8 years ago

Could you rebase (fixup) that into a single commit? Final request, I promise. 😄

erikanderson commented 8 years ago

@arioch No problem, better to do it right the first time. Squashed commits and tests should pass

arioch commented 8 years ago

Excellent stuff. 👍 Thanks!

Merged upstream.