mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-10-07 23:14:48 +02:00
jinja the redis config
This commit is contained in:
3 files changed
+12
-1840
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,11 @@
|
||||
{% import_yaml 'redis/defaults.yaml' as redis %}
|
||||
|
||||
{%- for k, v in redis.redis.config.items() %}
|
||||
{%- if v is iterable and v is not string %}
|
||||
{%- for v1, v2 in v.items() %}
|
||||
{{k}} {{v1}} {{v2}}
|
||||
{%- endfor %}
|
||||
{%- else %}
|
||||
{{ k }} {{ v }}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
+1
-1
@@ -36,7 +36,7 @@ redislogdir:
|
||||
redisconf:
|
||||
file.managed:
|
||||
- name: /opt/so/conf/redis/etc/redis.conf
|
||||
- source: salt://redis/etc/redis.conf
|
||||
- source: salt://redis/etc/redis.conf.jinja
|
||||
- user: 939
|
||||
- group: 939
|
||||
- template: jinja
|
||||
|
||||
Reference in new issue
Block a user