Merge pull request #3965 from Security-Onion-Solutions/soversion2

Soversion2
This commit is contained in:
Josh Patterson authored and GitHub committed 2021-04-22 13:45:56 -04:00
commit fb6fa789b7
2 files changed
+10

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
{%- set VERSION = salt['pillar.get']('global:soversion') -%}
{{ VERSION }}
+8
View File
@@ -278,6 +278,14 @@ backupdir:
- daymonth: '*'
- month: '*'
- dayweek: '*'
{% else %}
soversionfile:
file.managed:
- name: /etc/soversion
- source: salt://common/files/soversion
- mode: 644
- template: jinja
{% endif %}
# Manager daemon.json