Frederic Hornain wrote:
Dear *,
How can I retrieve a certimaster timestamp from the executed module on
the client ?
I do not know if I clearly explain my demand.
Let's go for more details :
Imagine the minions and certimaster are not synchronized with a NTP
server.
If I execute a module witn timestamp code on the minions at the same
time, there is a lot chance I retrieve different timestamp from minions.
Ok, I am pretty sure you will told me in that case : Install a NTP
server in your infrastructure ! Yes, the client should do it.
So, I was wondering if I could have a quick mean to retreive timestamp
from one reference machine or the cermaster server.
I'm not entirely sure I understand the question or the scenario.
What kind of timestamp are you looking for? There isn't any specific
module for getting the time on a minion currently. You could call
command.run with "date".
And yes, it is a good idea to run NTP on the minions. The ssl
connections that overlord/minion use tend to be very sensitive to the
time on each machine.
Maybe, should create a dedicated module ?
Wouldn't hurt.
Adrian
_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list