grafana-ansible-collection icon indicating copy to clipboard operation
grafana-ansible-collection copied to clipboard

integrate sles legacy init-script support

Open floerica opened this issue 1 year ago • 4 comments

added a depending package (insserv-compat) to avoid strange errors on a fresh sles installation (/etc/init.d/.. not found)

floerica avatar Apr 14 '24 06:04 floerica

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 14 '24 06:04 CLAassistant

as requested in https://github.com/grafana/grafana-ansible-collection/issues/172 - here is the PR

floerica avatar Apr 14 '24 06:04 floerica

for whatever reason my next patch got integrated into here - this was not really intended - i guess it happened as i wanted to have my merge request into my main fork.. However here are the informations:

  • i added a few tasks in install.yml to prepare and update zypper
  • tested this on openSuSE Leap - works perfektly fine on a fresh installed system
  • tried to test on SLES15SP5 - but as my sles15sp5 is not registred within SuSe for proxy/firewall reasons, the grafana rpm install failes currently as some dependencies you can only get from SuSE Packagehub (firewall restrictions on my end) are not met
  • if i install the 2 dependent packages (freetype, libttf) manually, then the role and installation goes through as expected

If you have concerns adding both patches at the same time, feel free to close my PR and i will open 2 seperate ones to integrate this stuff

floerica avatar Apr 28 '24 08:04 floerica

@gardar on this too, Thanks!

ishanjainn avatar May 07 '24 10:05 ishanjainn