Skip to content

Commit

Permalink
vrrp::instance: track_script: Enforce Array datatype
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Mar 12, 2024
1 parent 214d490 commit 540da0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@ Default value: `undef`

##### <a name="-keepalived--vrrp--instance--track_script"></a>`track_script`

Data type: `Variant[Array[String[1]],String[1]]`
Data type: `Array[String[1]]`

Define which script to run to track service states.

Expand Down
2 changes: 1 addition & 1 deletion manifests/vrrp/instance.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [],
Expand Down

0 comments on commit 540da0e

Please sign in to comment.