Regenerating inventory.txt

267 views
Skip to first unread message

Richard Hurt

unread,
Aug 26, 2008, 11:22:51 AM8/26/08
to Puppet Mailing List
After manually removing some requests and old certs what is the best way of regenerating the inventory.txt file?  Or is it even necessary?  What does the inventory.txt file do anyway?  I know it contains the list of all the certificates being used in the system, but is it just a convenience file or does the system rely on it for something important?

Thanx!
  Richard

Nigel Kersten

unread,
Aug 26, 2008, 11:28:53 AM8/26/08
to puppet...@googlegroups.com
On Tue, Aug 26, 2008 at 8:22 AM, Richard Hurt <rnh...@gmail.com> wrote:
After manually removing some requests and old certs what is the best way of regenerating the inventory.txt file?  Or is it even necessary?  What does the inventory.txt file do anyway?  I know it contains the list of all the certificates being used in the system, but is it just a convenience file or does the system rely on it for something important?

Actually, there's a bug in the releases that means this file will get completely regenerated every time a new cert is signed :)

http://reductivelabs.com/redmine/issues/show/1448

If you remove the file, it will get regenerated. It's just for reporting as that's the Right Thing to do with a CA.

That accepted patch in the above issue improves CA performance significantly once you have a lot of certificates...


--
Nigel Kersten
Systems Administrator
Tech Lead - MacOps

Richard

unread,
Aug 27, 2008, 7:13:28 AM8/27/08
to Puppet Users
So, it's safe to remove it and have it automatically regenerated when
it gets "corrupted" correct? Even after the patch? I realize this
will cause a performance hit when it regenerates but it wont screw
anything up.

Thanx!
Richard

Nigel Kersten

unread,
Aug 27, 2008, 10:52:10 AM8/27/08
to puppet...@googlegroups.com

Yep. I've tested removing the file both before and after the patch. It's not going to screw anything  up.
 
Reply all
Reply to author
Forward
0 new messages