ncsa / puppet-profile_update_os

NCSA Common Puppet Profiles - configure functionality for upgrading OS packages
0 stars 0 forks source link

Wall notifications about upcoming reboots/upgrades should include some sort of timestamp #25

Closed billglick closed 4 months ago

billglick commented 4 months ago

https://github.com/ncsa/puppet-profile_update_os/blob/c87c045aab327d3045f36b7b558877217442e818/manifests/scheduled_reboot.pp#L67

Can we get a timestamp on when this message gets displayed?

[user@host ~]#                                                                                
This server (host.internal.ncsa.edu) will be updated and rebooted in 24 hours.

[user@host ~]# 

In sessions that are mostly idle, it would be helpful to know when that message was sent so that the user has a better idea of when this is happening.

Ideally it would actually say something like:

This server (host.internal.ncsa.edu) will be updated and rebooted in 24 hours at 2024-05-08 06:00 CDT.

Which should be possible by referencing the following:

billglick commented 4 months ago

This is essentially a duplicate #24.