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
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -7,6 +7,7 @@ values:
|
|||||||
added_in_pillar: pillar_value
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -7,6 +7,7 @@ values:
|
|||||||
added_in_pillar: pillar_value
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -7,6 +7,7 @@ values:
|
|||||||
added_in_pillar: pillar_value
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -7,6 +7,7 @@ values:
|
|||||||
added_in_pillar: pillar_value
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -7,6 +7,7 @@ values:
|
|||||||
added_in_pillar: pillar_value
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -7,6 +7,7 @@ values:
|
|||||||
added_in_pillar: pillar_value
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -7,6 +7,7 @@ values:
|
|||||||
added_in_pillar: pillar_value
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -7,6 +7,7 @@ values:
|
|||||||
added_in_pillar: pillar_value
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -7,6 +7,7 @@ values:
|
|||||||
added_in_pillar: pillar_value
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -7,6 +7,7 @@ values:
|
|||||||
added_in_pillar: pillar_value
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -7,6 +7,7 @@ values:
|
|||||||
added_in_pillar: pillar_value
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -7,6 +7,7 @@ values:
|
|||||||
added_in_pillar: pillar_value
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -7,6 +7,7 @@ values:
|
|||||||
added_in_pillar: pillar_value
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -7,6 +7,7 @@ values:
|
|||||||
added_in_pillar: pillar_value
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -7,6 +7,7 @@ values:
|
|||||||
added_in_pillar: pillar_value
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -7,6 +7,7 @@ values:
|
|||||||
added_in_pillar: pillar_value
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -7,6 +7,7 @@ values:
|
|||||||
added_in_pillar: pillar_value
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -7,6 +7,7 @@ values:
|
|||||||
added_in_pillar: pillar_value
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -7,6 +7,7 @@ values:
|
|||||||
added_in_pillar: pillar_value
|
added_in_pillar: pillar_value
|
||||||
arch: amd64
|
arch: amd64
|
||||||
config: /etc/unbound/unbound.conf
|
config: /etc/unbound/unbound.conf
|
||||||
|
config_dir: /etc/unbound
|
||||||
lookup:
|
lookup:
|
||||||
added_in_lookup: lookup_value
|
added_in_lookup: lookup_value
|
||||||
master: template-master
|
master: template-master
|
||||||
|
@ -23,6 +23,7 @@ unbound-config-file-file-managed:
|
|||||||
- makedirs: True
|
- makedirs: True
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- check_cmd: unbound-checkconf
|
- check_cmd: unbound-checkconf
|
||||||
|
- tmp_dir: {{ unbound.config_dir }}
|
||||||
- require:
|
- require:
|
||||||
- sls: {{ sls_package_install }}
|
- sls: {{ sls_package_install }}
|
||||||
- context:
|
- context:
|
||||||
|
@ -8,6 +8,7 @@ values:
|
|||||||
name: unbound
|
name: unbound
|
||||||
rootgroup: root
|
rootgroup: root
|
||||||
config: '/etc/unbound/unbound.conf'
|
config: '/etc/unbound/unbound.conf'
|
||||||
|
config_dir: '/etc/unbound'
|
||||||
service:
|
service:
|
||||||
name: unbound
|
name: unbound
|
||||||
# Just here for testing
|
# Just here for testing
|
||||||
|
@ -14,4 +14,5 @@
|
|||||||
values:
|
values:
|
||||||
rootgroup: wheel
|
rootgroup: wheel
|
||||||
config: '/usr/local/etc/unbound/unbound.conf'
|
config: '/usr/local/etc/unbound/unbound.conf'
|
||||||
|
config_dir: '/usr/local/etc/unbound'
|
||||||
...
|
...
|
||||||
|
@ -13,4 +13,5 @@
|
|||||||
---
|
---
|
||||||
values:
|
values:
|
||||||
config: /etc/unbound.conf
|
config: /etc/unbound.conf
|
||||||
|
config_dir: /etc
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user