2021-03-31 10:10:43 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# vim: ft=yaml
|
|
|
|
---
|
2021-03-31 10:10:44 +02:00
|
|
|
unbound:
|
2021-03-31 10:10:43 +02:00
|
|
|
lookup:
|
|
|
|
master: template-master
|
|
|
|
# Just for testing purposes
|
|
|
|
winner: lookup
|
|
|
|
added_in_lookup: lookup_value
|
|
|
|
|
2021-03-31 11:08:28 +02:00
|
|
|
# pkg:
|
|
|
|
# name: unbound
|
|
|
|
# service:
|
|
|
|
# name: unbound
|
|
|
|
# config: /etc/unbound/unbound.conf
|
2021-03-31 10:10:43 +02:00
|
|
|
|
|
|
|
tofs:
|
|
|
|
# The files_switch key serves as a selector for alternative
|
|
|
|
# directories under the formula files directory. See TOFS pattern
|
|
|
|
# doc for more info.
|
|
|
|
# Note: Any value not evaluated by `config.get` will be used literally.
|
|
|
|
# This can be used to set custom paths, as many levels deep as required.
|
|
|
|
files_switch:
|
|
|
|
- any/path/can/be/used/here
|
|
|
|
- id
|
|
|
|
- roles
|
|
|
|
- osfinger
|
|
|
|
- os
|
|
|
|
- os_family
|
|
|
|
# All aspects of path/file resolution are customisable using the options below.
|
|
|
|
# This is unnecessary in most cases; there are sensible defaults.
|
|
|
|
# Default path: salt://< path_prefix >/< dirs.files >/< dirs.default >
|
2021-03-31 10:10:44 +02:00
|
|
|
# I.e.: salt://unbound/files/default
|
2021-03-31 10:10:43 +02:00
|
|
|
# path_prefix: template_alt
|
|
|
|
# dirs:
|
|
|
|
# files: files_alt
|
|
|
|
# default: default_alt
|
|
|
|
# The entries under `source_files` are prepended to the default source files
|
|
|
|
# given for the state
|
|
|
|
# source_files:
|
2021-03-31 10:10:44 +02:00
|
|
|
# unbound-config-file-file-managed:
|
2021-03-31 10:10:43 +02:00
|
|
|
# - 'example_alt.tmpl'
|
|
|
|
# - 'example_alt.tmpl.jinja'
|
|
|
|
|
|
|
|
# For testing purposes
|
|
|
|
source_files:
|
2021-03-31 10:10:44 +02:00
|
|
|
unbound-config-file-file-managed:
|
2021-03-31 11:08:28 +02:00
|
|
|
- 'unbound.conf.jinja'
|
2021-03-31 10:10:43 +02:00
|
|
|
|
|
|
|
# Just for testing purposes
|
|
|
|
winner: pillar
|
|
|
|
added_in_pillar: pillar_value
|