Georg Pfuetzenreuter
4267fd2482
Allow management of general configuration using pillar data. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
58 lines
1.1 KiB
YAML
58 lines
1.1 KiB
YAML
# yamllint disable rule:indentation rule:line-length
|
|
# Debian-10
|
|
---
|
|
values:
|
|
added_in_defaults: defaults_value
|
|
added_in_lookup: lookup_value
|
|
added_in_pillar: pillar_value
|
|
arch: amd64
|
|
config: /etc/nsd/nsd.conf
|
|
config_data:
|
|
remote-control:
|
|
control-enable: 'yes'
|
|
control-interface: /run/nsd.sock
|
|
server:
|
|
hide-version: 'yes'
|
|
ip-address: 127.0.0.1
|
|
port: 53530
|
|
verbosity: 2
|
|
config_include_dir: "/etc/nsd/nsd.conf.d"
|
|
config_include_glob: "*.conf"
|
|
lookup:
|
|
added_in_lookup: lookup_value
|
|
master: template-master
|
|
winner: lookup
|
|
map_jinja:
|
|
sources:
|
|
- Y:G@osarch
|
|
- Y:G@os_family
|
|
- Y:G@os
|
|
- Y:G@osfinger
|
|
- C@nsd:lookup
|
|
- C@nsd
|
|
- Y:G@id
|
|
master: template-master
|
|
pkg:
|
|
name: nsd
|
|
rootgroup: root
|
|
service:
|
|
name: nsd
|
|
tofs:
|
|
files_switch:
|
|
- any/path/can/be/used/here
|
|
- id
|
|
- roles
|
|
- osfinger
|
|
- os
|
|
- os_family
|
|
source_files:
|
|
nsd-config-file-file-managed:
|
|
- nsd.conf.jinja
|
|
winner: pillar
|
|
zones:
|
|
168.192.in-addr.arpa: {}
|
|
example.test:
|
|
multi-master-check: false
|
|
zones_dir: "/etc/nsd/zones"
|
|
|