Fixed typo

This commit is contained in:
ricardo@cropalato.com.br 2014-11-17 06:21:39 -05:00
parent 14925ea9ef
commit 4cb5d19265

View file

@ -10,19 +10,19 @@
#
define icinga2::object::externalcommandlistener (
$ensure = 'file',
$object_externalcommandlisternername = $name,
$command_path = undef,
$target_dir = '/etc/icinga2/objects/externalcommandlisteners',
$target_file_name = "${name}.conf",
$target_file_owner = 'root',
$target_file_group = 'root',
$target_file_mode = '0644'
$ensure = 'file',
$object_externalcommandlistenername = $name,
$command_path = undef,
$target_dir = '/etc/icinga2/objects/externalcommandlisteners',
$target_file_name = "${name}.conf",
$target_file_owner = 'root',
$target_file_group = 'root',
$target_file_mode = '0644'
) {
#Do some validation of the class' parameters:
if $object_externalcommandlisternername {
validate_string($object_externalcommandlisternername)
if $object_externalcommandlistenername {
validate_string($object_externalcommandlistenername)
}
if $command_path {
validate_string($command_path)