Skip to content

Commit

Permalink
vrrp::instance: virtual_rules: 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 3ae8a62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -1154,11 +1154,11 @@ Default value: `undef`

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

Data type: `Optional[Array[Keepalived::Vrrp::Instance::VRule]]`
Data type: `Array[Keepalived::Vrrp::Instance::VRule]`

Set floating rules.

Default value: `undef`
Default value: `[]`

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

Expand Down
2 changes: 1 addition & 1 deletion manifests/vrrp/instance.pp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
$virtual_ipaddress_excluded = undef,
Boolean $promote_secondaries = false,
$virtual_routes = undef,
Optional[Array[Keepalived::Vrrp::Instance::VRule]] $virtual_rules = undef,
Array[Keepalived::Vrrp::Instance::VRule] $virtual_rules = [],
$smtp_alert = false,
$nopreempt = false,
$preempt_delay = undef,
Expand Down

0 comments on commit 3ae8a62

Please sign in to comment.