Hey Mike, give this a shot (in a psql session):
begin;
delete from facts where fact_path_id in (select id from fact_paths where
name=any('{"disks", "partitions", "mountpoints"}'));
delete from fact_paths where id not in (select fact_path_id from facts);
delete from fact_values where id not in (select fact_value_id from facts);
commit;
If you hit a transaction rollback you may need to run it with PDB
stopped. Those last two deletes may take some time since your
gc-interval is long, so you should probably run it in tmux/screen or
something.
Wyatt
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/419e97c3-edc9-cebf-bfd7-cd4fb3d45b18%40puppet.com.
For more options, visit https://groups.google.com/d/optout.