machine reboot after puppet run
is there a way how to ensure the reboot of the linux machine after puppet run?
Can take advantage of reboot or shutdown -r commands and to typical patern resurce - subscribe pattern but that doesn't ensure that exec shutdown resource will be synchronized as a last one.
Could someone please advice the best approach? I would be also curious about the situation on windows when you need after certain steps to perform restart and continue installation. Is there a way how to ensure a continuation of puppet run after system restart?
Sorry that I combined two question in one post but the first one has higher priority now