mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-10-09 01:07:30 +02:00
feat(map): config.get lookups from configurable roots
We avoid compatibility break with user pillars by looking up configuration values using `config.get` in configurable roots. We provide a new parameter `map_jinja:config_get_roots` in the formula `parameters/defaults.yaml`to retrives values not only from `tplroot=openssh` but from `sshd_config` and `ssh_config` too. We need to update the `_mapdata` reference files to include the new `map_jinja:config_get_roots`.
This commit is contained in:
1 parent
df477b25c2
commit
ad4385b077
16 files changed
+143
-39
No files matched your search
@@ -2,6 +2,12 @@
|
||||
# vim: ft=yaml
|
||||
---
|
||||
values:
|
||||
map_jinja:
|
||||
config_get_roots:
|
||||
- openssh
|
||||
- sshd_config
|
||||
- ssh_config
|
||||
|
||||
openssh:
|
||||
sshd_enable: true
|
||||
sshd_binary: /usr/sbin/sshd
|
||||
|
||||
Reference in new issue
Block a user