From 540da0ea64cb0f7fa156f7d30956f26aa661a478 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Tue, 12 Mar 2024 14:56:40 +0100 Subject: [PATCH] vrrp::instance: track_script: Enforce Array datatype --- REFERENCE.md | 2 +- manifests/vrrp/instance.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/REFERENCE.md b/REFERENCE.md index 77226b1de..c7dd03634 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -1195,7 +1195,7 @@ Default value: `undef` ##### `track_script` -Data type: `Variant[Array[String[1]],String[1]]` +Data type: `Array[String[1]]` Define which script to run to track service states. diff --git a/manifests/vrrp/instance.pp b/manifests/vrrp/instance.pp index dab36e53e..04dbb79f7 100644 --- a/manifests/vrrp/instance.pp +++ b/manifests/vrrp/instance.pp @@ -205,7 +205,7 @@ $virtual_ipaddress = undef, $auth_type = undef, Optional[Variant[String, Sensitive[String]]] $auth_pass = undef, - Variant[Array[String[1]],String[1]] $track_script = [], + Array[String[1]] $track_script = [], Array[String[1]] $track_process = [], Array[String[1]] $track_file = [], Array[String[1]] $vrrp_track_file = [],