feat: add ceph service management profiles and facts #459
Reference in New Issue
Block a user
Delete Branch "feature/ceph-service-management"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Unkin::Ceph::Utilsfacter module detecting ceph service instances viasystemctl list-units, exposingis_ceph_mon,is_ceph_mgr,is_ceph_mds,is_ceph_osdbooleans and aceph_serviceshash of unit namesprofiles::ceph::mon,mgr,mds,osd— each withBoolean $ensure_runningthat iterates discovered service instances and manages them as running and enabledis_ceph_osd: trueandceph_services: {osd: [ceph-osd@5]}Test plan
ceph_servicesfact returns correct service mapis_ceph_osdreturnsTrue,is_ceph_monreturnsFalseas expected