feat(check_cmd): run in config directory
This commit is contained in:
parent
bbc1a0e5b5
commit
6718b2a861
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -14,4 +14,5 @@
|
||||
values:
|
||||
rootgroup: wheel
|
||||
config: '/usr/local/etc/unbound/unbound.conf'
|
||||
config_dir: '/usr/local/etc/unbound'
|
||||
...
|
||||
|
@ -13,4 +13,5 @@
|
||||
---
|
||||
values:
|
||||
config: /etc/unbound.conf
|
||||
config_dir: /etc
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user