Correct variable name mismatches.

This commit is contained in:
Nick Chappell 2014-11-17 21:29:20 -08:00
parent 3493c739d0
commit 5cd1e2e53c

View file

@ -11,7 +11,7 @@
define icinga2::object::livestatuslistener ( define icinga2::object::livestatuslistener (
$ensure = 'file', $ensure = 'file',
$object_livestatuslisternername = $name, $object_livestatuslistenername = $name,
$socket_type = undef, $socket_type = undef,
$bind_host = undef, $bind_host = undef,
$bind_port = undef, $bind_port = undef,
@ -25,8 +25,8 @@ define icinga2::object::livestatuslistener (
) { ) {
#Do some validation of the class' parameters: #Do some validation of the class' parameters:
if $object_livestatuslisternername { if $object_livestatuslistenername {
validate_string($object_livestatuslisternername) validate_string($object_livestatuslistenername)
} }
if $socket_type { if $socket_type {
validate_string($socket_type) validate_string($socket_type)