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, 2019 in Puppet by Chang
734 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, 2019 by Sirajul
• 59,230 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, 2019 in Puppet by Sirajul
• 59,230 points
3,023 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, 2019 in Puppet by Sirajul
• 59,230 points
747 views
0 votes
1 answer

Puppet+Docker: How can a user initialize, join and leave the swarm?

The docker module has an example task ...READ MORE

answered Aug 14, 2019 in Puppet by Lilly
1,085 views
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,053 views
+2 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, 2019 in Puppet by Sirajul
• 59,230 points
1,088 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP