Try to avoid reserved site keyword
[mirror/dsa-puppet.git] / modules / unbound / manifests / init.pp
index 72f9a37..840cfff 100644 (file)
@@ -9,7 +9,7 @@
 class unbound {
        include stdlib
 
-       $is_recursor   = getfromhash($site::nodeinfo, 'misc', 'resolver-recursive')
+       $is_recursor   = getfromhash($deprecated::nodeinfo, 'misc', 'resolver-recursive')
        $client_ranges = hiera('allow_dns_query')
        $firewall_blocks_dns = hiera('firewall_blocks_dns', false)
        $empty_client_range = empty($client_ranges)