summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/system/glusterfs/client/volume/gerrit.yml
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/reclass/classes/system/glusterfs/client/volume/gerrit.yml')
-rw-r--r--mcp/reclass/classes/system/glusterfs/client/volume/gerrit.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcp/reclass/classes/system/glusterfs/client/volume/gerrit.yml b/mcp/reclass/classes/system/glusterfs/client/volume/gerrit.yml
new file mode 100644
index 000000000..4598683b9
--- /dev/null
+++ b/mcp/reclass/classes/system/glusterfs/client/volume/gerrit.yml
@@ -0,0 +1,15 @@
+parameters:
+ _param:
+ gerrit_glusterfs_service_host: ${_param:glusterfs_service_host}
+ glusterfs_node01_address: ${_param:cluster_node01_address}
+ glusterfs_node02_address: ${_param:cluster_node02_address}
+ glusterfs_node03_address: ${_param:cluster_node03_address}
+ glusterfs:
+ client:
+ volumes:
+ gerrit:
+ path: /srv/volumes/gerrit
+ server: ${_param:gerrit_glusterfs_service_host}
+ opts: "defaults,backup-volfile-servers=${_param:glusterfs_node01_address}:${_param:glusterfs_node02_address}:${_param:glusterfs_node03_address}"
+ user: 1000
+ group: 1000