slaprunner/resilient: generate and store random value using publish_early.
This commit is a fix for 8787716d. It allows to get the random cron string generated previously through parameters, and not reading manually .installed.cfg.
Showing
-
Maintainer
This commit tries to fix 8787716d, after Julien's comment. This is the way on which Julien and me worked to store correctly the randomly generated parameter used for the cron.d frequency.
This commit can still be improved to render pbsready-export.cfg.in only for the runner-export instance, and the KVM SR must be updated too, but I want first to get a opinion from everybody about it.
From now, the random "frequency" cron string is generated from a custom recipe (see parent's commit). Thanks to Jinja templating, we can or force the generation of it, or override it thanks to slap-parameters.
Please register or sign in to comment