feat(check_cmd): run in config directory

This commit is contained in:
Alexander Weidinger 2021-04-19 00:31:26 +02:00
parent bbc1a0e5b5
commit 6718b2a861
24 changed files with 24 additions and 0 deletions

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -7,6 +7,7 @@ values:
added_in_pillar: pillar_value
arch: amd64
config: /etc/unbound/unbound.conf
config_dir: /etc/unbound
lookup:
added_in_lookup: lookup_value
master: template-master

View File

@ -23,6 +23,7 @@ unbound-config-file-file-managed:
- makedirs: True
- template: jinja
- check_cmd: unbound-checkconf
- tmp_dir: {{ unbound.config_dir }}
- require:
- sls: {{ sls_package_install }}
- context:

View File

@ -8,6 +8,7 @@ values:
name: unbound
rootgroup: root
config: '/etc/unbound/unbound.conf'
config_dir: '/etc/unbound'
service:
name: unbound
# Just here for testing

View File

@ -14,4 +14,5 @@
values:
rootgroup: wheel
config: '/usr/local/etc/unbound/unbound.conf'
config_dir: '/usr/local/etc/unbound'
...

View File

@ -13,4 +13,5 @@
---
values:
config: /etc/unbound.conf
config_dir: /etc
...