otherwise we have a window after the restart, where the reboot
admin button is still shown, as the event proccessor still needs
time to update the grains
@ereslibre i have first tried to add a Minion.update_grains statement to the end of bin/init or just before launching puma in bin/run but for some reason that didn't set the tx_update_reboot_needed flag to false after the reboot... then i came up with this solution
otherwise we have a window after the restart, where the reboot admin button is still shown, as the event proccessor still needs time to update the grains
bsc#1099015
Signed-off-by: Maximilian Meister mmeister@suse.de
@ereslibre i have first tried to add a
Minion.update_grains
statement to the end ofbin/init
or just before launching puma inbin/run
but for some reason that didn't set thetx_update_reboot_needed
flag to false after the reboot... then i came up with this solution