Fix bad variable name in bind::zone parameter validation code
This commit is contained in:
parent
bd7f25c6ce
commit
5b4d9f772e
@ -30,8 +30,8 @@ define bind::zone (
|
|||||||
fail("transfer_source may only be provided for bind::zone resources with zone_type 'slave' or 'stub'")
|
fail("transfer_source may only be provided for bind::zone resources with zone_type 'slave' or 'stub'")
|
||||||
}
|
}
|
||||||
|
|
||||||
unless !($allow_update != '' and ! $dynamic) {
|
unless !($allow_updates != '' and ! $dynamic) {
|
||||||
fail("allow_update may only be provided for bind::zone resources with dynamic set to true")
|
fail("allow_updates may only be provided for bind::zone resources with dynamic set to true")
|
||||||
}
|
}
|
||||||
|
|
||||||
unless !($dnssec and ! $dynamic) {
|
unless !($dnssec and ! $dynamic) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user