Page MenuHomeSoftware Heritage

view.pp
No OneTemporary

# ex: syntax=puppet si ts=4 sw=4 et
define bind::view (
$match_clients = 'any',
$match_destinations = '',
$servers = {},
$zones = [],
$recursion = true,
$recursion_match_clients = 'any',
$recursion_match_destinations = '',
$recursion_match_only = false,
$allow_query = 'any',
$allow_query_on = 'any',
$allow_query_cache = 'any',
$allow_query_cache_on = 'any',
$allow_transfers = '',
$notify_source = '',
$also_notify = '',
$empty_zones = '',
$order = '10',
$minimal_responses = false,
) {
$confdir = $::bind::confdir
$default_zones_include = $::bind::default_zones_include
$include_default_zones = $::bind::include_default_zones
concat::fragment { "bind-view-${name}":
order => $order,
target => "${::bind::confdir}/views.conf",
content => template('bind/view.erb'),
}
concat::fragment { "bind-view-mappings-${name}":
target => "${::bind::confdir}/view-mappings.txt",
content => template('bind/view-mappings.erb'),
}
}

File Metadata

Mime Type
text/plain
Expires
Jun 4 2025, 6:39 PM (14 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3267140

Event Timeline