Skip to content

Commit

Permalink
Merge pull request #319 from bastelfreak/break
Browse files Browse the repository at this point in the history
vrrp::instance: track_script: Enforce Array datatype
  • Loading branch information
bastelfreak authored Apr 2, 2024
2 parents 70567eb + 540da0e commit d94054c
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 scripts to run to track service states.
May be specified either as a String with a single Scriptname,
Expand Down
2 changes: 1 addition & 1 deletion manifests/vrrp/instance.pp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,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 d94054c

Please sign in to comment.