network: Fixed passing multiple options to network::carp define.
This commit is contained in:
parent
ed1b6526ca
commit
75177d2403
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ define network::carp($password, $ipaddr, $netmask, $options = [], $postcmd = [])
|
||||||
network::interface { "carp${name}":
|
network::interface { "carp${name}":
|
||||||
ipaddr => $ipaddr,
|
ipaddr => $ipaddr,
|
||||||
netmask => $netmask,
|
netmask => $netmask,
|
||||||
options => [ "vhid ${name}", "pass ${password}", $options ],
|
options => merge([ "vhid ${name}", "pass ${password}", ], $options),
|
||||||
postcmd => merge("/usr/sbin/ndp -i carp${name} -- -accept_rtadv", $postcmd),
|
postcmd => merge("/usr/sbin/ndp -i carp${name} -- -accept_rtadv", $postcmd),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue