How can i know the time as to when exactly did a node join puppet?

0 votes
Is there any way that i could figure out the timestamp when a node joined Puppet for the first time, i.e. when a node ran the agent for the first time?

May be the last_run, only for the first time it runs. if not, Is there any module that i can use to retrieve it?
Aug 8 in Puppet by Chang
25 views

1 answer to this question.

0 votes
Puppet does not itself keep any timestamp of clients' first runs that could be queried to provide the information.

As far as i know,there isn't any module that does so, either, but it wouldn't be too hard to write your own custom module to serve the purpose.

Of course, that only helps for a given machine if the module is already installed before that machine's first catalog request.

If you are using Puppet's internal CA, you could get a lower bound on the time of the first run from the timestamp on the CA's copy of the node's signed cert.

That will often correspond to the time of the first catalog run, though it doesn't need to do. And this scheme blows up if you issue new certificates to existing machines.
answered Aug 8 by Sirajul
• 31,180 points

Related Questions In Puppet

0 votes
1 answer

How can i check the requests of certificates from puppet agent to puppet master?

You could do this by executing the ...READ MORE

answered Jul 24 in Puppet by Sirajul
• 31,180 points
68 views
0 votes
1 answer
0 votes
1 answer

Puppet: How can i remove all the node entries that are no longer managed by puppet?

You could try this: class remove_unmanaged { ...READ MORE

answered Aug 9 in Puppet by Sirajul
• 31,180 points
20 views
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
181 views
0 votes
1 answer
0 votes
1 answer

Puppet: How can i connect the puppet server to an external node classifier?

You need to configure two settings to ...READ MORE

answered Aug 2 in Puppet by Sirajul
• 31,180 points
34 views
0 votes
1 answer