Add possibility to manage file permissions of config files
Fixes-bug: PROD-36558
Change-Id: Ie65b7749b0cbeb1df660192f7f82822eb1014ff1
diff --git a/metadata/service/file_permissions.yml b/metadata/service/file_permissions.yml
new file mode 100644
index 0000000..7cc7375
--- /dev/null
+++ b/metadata/service/file_permissions.yml
@@ -0,0 +1,5 @@
+parameters:
+ designate:
+ directories:
+ /etc/designate:
+ mode: '0750'
\ No newline at end of file
diff --git a/metadata/service/server/cluster.yml b/metadata/service/server/cluster.yml
index 72a6ed9..9bf6fe7 100644
--- a/metadata/service/server/cluster.yml
+++ b/metadata/service/server/cluster.yml
@@ -2,6 +2,7 @@
- designate
classes:
- service.designate.support
+- service.designate.file_permissions
parameters:
_param:
openstack_log_appender: false
diff --git a/metadata/service/server/single.yml b/metadata/service/server/single.yml
index ace7f3b..5ff54ce 100644
--- a/metadata/service/server/single.yml
+++ b/metadata/service/server/single.yml
@@ -2,6 +2,7 @@
- designate
classes:
- service.designate.support
+- service.designate.file_permissions
parameters:
_param:
openstack_log_appender: false