diff --git a/ceph.sls b/ceph.sls new file mode 100644 index 0000000..67d5b11 --- /dev/null +++ b/ceph.sls @@ -0,0 +1,25 @@ +ceph: + release: luminous + use_upstream_repo: false + + config: + file: /etc/ceph/ceph.conf + global: + fsid: 29ef4020-303a-4b2e-aa24-a1e20e5ba21c + authentication_type: 'cephx' #this needs some serious fixing + public_network: '192.168.10.0/24' + cluster_network: '10.255.255.0/27' + + + mon_hosts: + - pine01.chaos + - pine02.chaos + + osds: + active: + - /dev/sda + - /dev/sdb + + packages: + - ceph + - apt-transport-https diff --git a/prometheus/prometheus.sls b/prometheus/prometheus.sls index d5e3438..aabc8ab 100644 --- a/prometheus/prometheus.sls +++ b/prometheus/prometheus.sls @@ -24,6 +24,10 @@ prometheus: static_configs: - targets: - prometheus.chaos:9090 + - job_name: 'ceph' + static_configs: + - targets: + - pine02.chaos:9283 - job_name: mysqld static_configs: - targets: diff --git a/top.sls b/top.sls index 69a78c3..ec5822c 100644 --- a/top.sls +++ b/top.sls @@ -8,5 +8,12 @@ base: - prometheus.node_exporter 'pine03*': - prometheus.prometheus + #'ebin*': + # - ceph + #'pine0[12]*': + # - ceph + #'riot*': + # - ceph # 'tumor.chaos': # - salt.master +