The source project of this merge request has been removed.
add version_file custom resource and implement in recipes
requested to merge (removed):4836-extract-logic-to-restart-daemon-when-version-changes-into-its-own-resource into master
What does this MR do?
This adds a custom resource to the "package" cookbook, named daemon_restart
, which provides consistency around how daemons are restarted when versions change.
It supports both restart
and hup
actions. restart
is the default action. When :hup
is called, it uses runit_service
. It also supports passing an array of services to restart.
Related issues
Closes #4836 (closed)
Checklist
See Definition of done.
-
Changelog entry created. Not applicable for Documentation changes and minor changes. -
Documentation created/updated -
Tests added -
Integration tests added to GitLab QA, if applicable -
MR targeting master
branch -
MR has a green pipeline on GitLab.com -
Equivalent MR/issue for CNG opened if applicable -
trigger-package
has a green pipeline running against latest commit
Reviewer Checklist
In addition to above, reviewer must:
-
Pipeline is green on dev.gitlab.org if the change is not touching documentation or internal cookbooks
Edited by Balasankar 'Balu' C