summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/system/glusterfs/client/volume/mysql.yml
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/reclass/classes/system/glusterfs/client/volume/mysql.yml')
-rw-r--r--mcp/reclass/classes/system/glusterfs/client/volume/mysql.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/mcp/reclass/classes/system/glusterfs/client/volume/mysql.yml b/mcp/reclass/classes/system/glusterfs/client/volume/mysql.yml
new file mode 100644
index 000000000..7761a0735
--- /dev/null
+++ b/mcp/reclass/classes/system/glusterfs/client/volume/mysql.yml
@@ -0,0 +1,13 @@
+parameters:
+ _param:
+ mysql_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:
+ mysql:
+ path: /srv/volumes/mysql
+ server: ${_param:mysql_glusterfs_service_host}
+ opts: "defaults,backup-volfile-servers=${_param:glusterfs_node01_address}:${_param:glusterfs_node02_address}:${_param:glusterfs_node03_address}"