Add possibility to manage file permissions of config files
Fixes-bug: PROD-36553
Change-Id: I4a8314449ecf6cb56e32fa04236899f1a914e164
diff --git a/README.rst b/README.rst
index a4f905d..bd71fd6 100644
--- a/README.rst
+++ b/README.rst
@@ -432,6 +432,38 @@
host: 0.0.0.0
port: 8125
+
+Change files/directories permissions for gnocchi service:
+=======================================
+In order to change file permissions the following should be set:
+
+'files' - block to set permissions for files.
+- full path to file
+- user ( default value is 'root' ) this parameter is optional.
+- group ( default value is 'gnocchi' ) this parameter is optional
+- mode ( default value is '0640' ) this parameter is optional
+
+'directories' - block to set permissions for directories.
+- full path to directory
+- user ( default value is 'root' ) this parameter is optional
+- group ( default value is 'gnocchi' ) this parameter is optional
+- mode ( default value is '0750' ) this parameter is optional
+
+.. code-block:: yaml
+
+ gnocchi:
+ files:
+ /etc/gnocchi/gnocchi.conf:
+ user: 'root'
+ group: 'gnocchi'
+ mode: '0750'
+ directories:
+ /etc/gnocchi:
+ user: 'root'
+ group: 'gnocchi'
+ mode: '0750'
+
+
More Information
================