Rework heat config files permissions
Remove the correct_file_permissions_heat and
correct_dir_permissions_heat states.
Change-Id: Ia499d4c675d7a38b919023dd65f5c2a175bdffd7
Related-Prod: PROD-22093
diff --git a/heat/server.sls b/heat/server.sls
index 775d562..2caa2f4 100644
--- a/heat/server.sls
+++ b/heat/server.sls
@@ -224,14 +224,4 @@
- file: /etc/heat/heat.conf
{%- endif %}
-correct_file_permissions_heat:
- cmd.run:
- - name: find /etc/heat -type f \( \! -perm 640 -o \! -user root -o \! -group heat \) -execdir chmod 640 {} + -execdir chown root:heat {} +
- - onlyif: find /etc/heat -type f \( \! -perm 640 -o \! -user root -o \! -group heat \) -printf found | grep -q found
-
-correct_dir_permissions_heat:
- cmd.run:
- - name: find /etc/heat -type d \( \! -perm 750 -o \! -user root -o \! -group heat \) -execdir chmod 750 {} + -execdir chown root:heat {} +
- - onlyif: find /etc/heat -type d \( \! -perm 750 -o \! -user root -o \! -group heat \) -printf found | grep -q found
-
{%- endif %}