added test command

This commit is contained in:
Arne Teuke
2017-07-30 12:50:55 +01:00
parent 7a767e39dc
commit 5c0374245d
3 changed files with 13 additions and 2 deletions

View File

@@ -19,6 +19,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# @summary manage command definitions via define and Puppet rules.
# @example
# cd_nrpe::commands::definitions { 'check_users':
# ne_check_cmd => 'check_users',
# ne_cmd_argstring => '-w $ARG1$ -c $ARG2$',
# }
###############################################################################
class cd_nrpe::commands::definition_rules (
@@ -51,6 +56,11 @@ class cd_nrpe::commands::definition_rules (
# basic example rules
cd_nrpe::commands::definitions { 'check_users':
ne_check_cmd => 'check_users',
ne_cmd_argstring => '-w $ARG1$ -c $ARG2$',
}
}
}