Split out states for Alerta config files and remove unneeded execution bit.

Fixes PROD-35069

Change-Id: I47142d40a4fa41b0f62ff2310d1d76ab6291dcd8
diff --git a/prometheus/alerta.sls b/prometheus/alerta.sls
index 8cc8c3d..3b64fb6 100644
--- a/prometheus/alerta.sls
+++ b/prometheus/alerta.sls
@@ -10,12 +10,18 @@
 
 alerta_config_file:
   file.managed:
-    - names:
-      - {{ alerta.config_dir }}/alerta.conf:
-        - source: salt://prometheus/files/alerta/alerta.conf
-        - mode: 755
-      - {{ alerta.config_dir }}/alertad.conf:
-        - source: salt://prometheus/files/alerta/alertad.conf
+    - name: {{ alerta.config_dir }}/alerta.conf
+    - source: salt://prometheus/files/alerta/alerta.conf
+    - makedirs: True
+    - template: jinja
+    - require:
+      - file: alerta_config_dir
+
+
+alertad_config_file:
+  file.managed:
+    - name: {{ alerta.config_dir }}/alertad.conf
+    - source: salt://prometheus/files/alerta/alertad.conf
     - makedirs: True
     - template: jinja
     - require: