added test command
This commit is contained in:
@@ -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$',
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user