Project

General

Profile

action #159165

Updated by nicksinger about 1 month ago

## Motivation 
 We rely on rsyncd on both o3+osd for the worker cache, test syncing, but so far that does not seem to be covered in any documentation or salt states at all. Let's try to at least cover it in salt for osd. 

 Currently on OSD we have 

 ``` 
 openqa:/etc # ls -ltra rsyncd.* 
 -rw-r--r-- 1 root root 275 Mar 17    2017 rsyncd.conf 
 -rw------- 1 root root    14 Oct 25    2022 rsyncd.secrets 
 ``` 

 and the enabled systemd service I guess 

 ## Acceptance criteria 
 * **AC1:** rsyncd is setup by salt states 
 * **AC2:** non-trivial passwords are in https://gitlab.suse.de/openqa/salt-pillars-openqa/ 


 ## Suggestions 
 * Probably just a simple file provides and service enable in https://gitlab.suse.de/openqa/salt-states-openqa like we often have (e.g. https://gitlab.suse.de/openqa/salt-states-openqa/-/blob/master/kdump.sls?ref_type=heads or https://gitlab.suse.de/openqa/salt-states-openqa/-/tree/master/chrony?ref_type=heads) 
 * Check the rsyncd.secrets. If it has a non-trivial password then provide it from pillars 







Back