ceph rados gtw
Change-Id: I91c0314708974c621f74804b0444c934f0a351f7
diff --git a/reclass/storage/system/ceph_mon_cluster.yml b/reclass/storage/system/ceph_mon_cluster.yml
index d54d767..91b76f6 100644
--- a/reclass/storage/system/ceph_mon_cluster.yml
+++ b/reclass/storage/system/ceph_mon_cluster.yml
@@ -12,7 +12,7 @@
domain: ${_param:cluster_domain}
classes:
- cluster.${_param:cluster_name}.ceph.mon
- - cluster.${_param:cluster_name}.ceph.mon_init
+ - cluster.${_param:cluster_name}.ceph.setup
params:
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: ${_param:ceph_mon_system_codename}
diff --git a/reclass/storage/system/ceph_rgw_cluster.yml b/reclass/storage/system/ceph_rgw_cluster.yml
new file mode 100644
index 0000000..46d8a59
--- /dev/null
+++ b/reclass/storage/system/ceph_rgw_cluster.yml
@@ -0,0 +1,39 @@
+parameters:
+ _param:
+ ceph_rgw_node01_hostname: rgw01
+ ceph_rgw_node02_hostname: rgw02
+ ceph_rgw_node03_hostname: rgw03
+ ceph_rgw_system_codename: xenial
+ reclass:
+ storage:
+ node:
+ ceph_rgw_node01:
+ name: ${_param:ceph_rgw_node01_hostname}
+ domain: ${_param:cluster_domain}
+ classes:
+ - cluster.${_param:cluster_name}.ceph.rgw
+ params:
+ salt_master_host: ${_param:reclass_config_master}
+ linux_system_codename: ${_param:ceph_rgw_system_codename}
+ single_address: ${_param:ceph_rgw_node01_address}
+ keepalived_vip_priority: 103
+ ceph_rgw_node02:
+ name: ${_param:ceph_rgw_node02_hostname}
+ domain: ${_param:cluster_domain}
+ classes:
+ - cluster.${_param:cluster_name}.ceph.rgw
+ params:
+ salt_master_host: ${_param:reclass_config_master}
+ linux_system_codename: ${_param:ceph_rgw_system_codename}
+ single_address: ${_param:ceph_rgw_node02_address}
+ keepalived_vip_priority: 102
+ ceph_rgw_node03:
+ name: ${_param:ceph_rgw_node03_hostname}
+ domain: ${_param:cluster_domain}
+ classes:
+ - cluster.${_param:cluster_name}.ceph.rgw
+ params:
+ salt_master_host: ${_param:reclass_config_master}
+ linux_system_codename: ${_param:ceph_rgw_system_codename}
+ single_address: ${_param:ceph_rgw_node03_address}
+ keepalived_vip_priority: 101