Hi Luke,
thanks for reply.
I'm already using (thin) storeconfigs, and I would prefer to avoid
deleting the currently stored data just to inizialize a clean db
schema (I think the inventory service uses extra tables).
There are 2 reasons why I'd prefer to avoid trashing stored configs
data, even if I know that everything will be recreated:
- First time data is stored, afaik, it make much more sql queries and
this could kill the (production) puppetmaster.
- Store confis are used in monitoring systems and it would take a bit
of time to reach convergence.

None of them are really blocking reasons, since we can work around
them, but since I suppose is just a matter of creating some empty
tables to store inventory data I would prefer a less disruptive
approach.

Still, and I ask to Brice or other storeconfigs/inventory experts, if
you think it would be better to clean up everything from scrath, I
could follow that path.

Regards,
Al

On Apr 12, 3:06 am, Luke Baker <bake...@missouri.edu> wrote:
> Hey there,
>
> I used the storeconfigs database. Here is a condensed version of the
> storeconfigs 
> setup,http://linux-collective.blogspot.com/2011/04/puppet-storeconfigs.html.
> You shouldn't need to migrate anything, the data will be populated
> when the clients check in.
>
> On Apr 11, 10:07 am, Alessandro Franceschi <a...@lab42.it> wrote:
>
>
>
>
>
>
>
> > Actually that is the good way to do that on a fresh installation I suppose,
> > but I wonder, and ask, if there's a way to create the needed schema for the
> > Inventory service without destroying the current database.
>
> > My case is that I've a Puppet Master with storeconfigs activated and a lot
> > of data already stored.
> > I've just updated it from 0.25.x (btw, now it's 2.6 times ... slower :-) and
> > want to activate the inventory service and I face Mohamed's same error.
> > I'd prefer to avoid to drop everything and wait for convergence.
>
> > While writing I just realized that I can just dump a fresh db on a test
> > puppetmaster and import the relevant inventory tables, but, well, if there's
> > an official way to do that, or just a rake script or whatever, it would be
> > better.
>
> > Hints?
>
> > al

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to