Hi Rémy,
thank you very much for your answer. Well actually I would prefer to
keep all code that is responsible for package upgrades in one state
file, so that I do not have to remember that some of the code is in a
state file and another part is beacon/reactor based.
I have already a beacon/reactor config that checks filesystem usage
(df), but this one is only realized by a beacon/reactor, so its in "one"
place only.
So if anyone has another answer how my problem could be solved inside a
state file I would really be interested to see how?
As far as automatic upgrades are concerned I think depending on the
number of machines you do not have a real choice. The systems (multiboot
client systems) I want to upgrade upon boot have a total count of about
100 and are running windows most of the time. Only if the system is
rebooted to linux salt will take care of the linux system. So running
linux upgrades manually is verytime intensive.
Thanks a lot
Rainer
Am 26.10.18 um 10:17 schrieb Rémy Dernat:
> Hi,
>
> Considering you don't restart the minion manually, you can do much
> simpler, simply by checking if the minion is trying to reconnect, and
> creating a reactor or an orchestrator :
> -
https://docs.saltstack.com/en/latest/topics/event/master_events.html
> -
https://docs.saltstack.com/en/latest/topics/reactor/
>
> Then apply your upgrades (BTW : I am not a huge fan of automatically
> blind upgrades; I did this in the past, and sometimes a manual control
> can save your time from many circumstances).
>
> Kind regards,
> Rémy
>
> Le ven. 26 oct. 2018 à 10:00, 'Rainer Krienke' via Salt-users
> <
salt-...@googlegroups.com <mailto:
salt-...@googlegroups.com>> a écrit :
> <mailto:
salt-users%2Bunsu...@googlegroups.com>.
> --
> You received this message because you are subscribed to the Google
> Groups "Salt-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
salt-users+...@googlegroups.com
> <mailto:
salt-users+...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/salt-users/CAA6Bz%3DdJYR4g_25Q_Q-V0rQZDetEkM4avFYhWzZNVqVS0F%3D_Tg%40mail.gmail.com
> <
https://groups.google.com/d/msgid/salt-users/CAA6Bz%3DdJYR4g_25Q_Q-V0rQZDetEkM4avFYhWzZNVqVS0F%3D_Tg%40mail.gmail.com?utm_medium=email&utm_source=footer>.