From 712f904c433718196fc6883c615fbb24133e0126 Mon Sep 17 00:00:00 2001 From: Corey Ogburn Date: Thu, 8 Aug 2024 10:57:07 -0600 Subject: [PATCH] Config for Repo Folder The folder we checkout the AI Summary repo into should definitely exist. --- salt/soc/config.sls | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/salt/soc/config.sls b/salt/soc/config.sls index 8d1f0f694..23f08014c 100644 --- a/salt/soc/config.sls +++ b/salt/soc/config.sls @@ -90,7 +90,7 @@ filedetectionsbackup: crondetectionsruntime: cron.present: - - name: /usr/sbin/so-detections-runtime-status cron + - name: /usr/sbin/so-detections-runtime-status cron - identifier: detections-runtime-status - user: root - minute: '*/10' @@ -190,6 +190,13 @@ socsigmarepo: - group: 939 - mode: 775 +socsensoronirepos: + file.directory: + - name: /opt/sensoroni/repos + - user: 939 + - group: 939 + - mode: 775 + {% else %} {{sls}}_state_not_allowed: