On Tue, 2009-12-01 at 16:49 -0500, Micah Anderson wrote:
> ext/dbfix.sql
> -------------
> I've heard through the grapevine that this supposedly will clean up and
> fix MYSQL stored config databases. was this updated for the new schema
> changes? What exactly does it do, and in what scenarios would someone
> need/want to run this? If it is updated and generally useful, we might
> put it in our /usr/share/doc/puppetmaster/examples directory

This renormalizes a mysql storeconfigs database.
It can happen that for (various, some still unexplained) reasons a long
running mysql storeconfigs database contains duplicated resources,
duplicated tags, duplicated parameter names. 
This script aims to remove all duplications of such entities.

I think it still work fine with 0.25 since the schema barely changed.
Warning: make sure to run a database backup before running this script.
-- 
Brice Figureau
Follow the latest Puppet Community evolutions on www.planetpuppet.org!

--

You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.


Reply via email to