Simon Tideswell <stidesw...@gmail.com> writes:

> Perhaps I can tackle this a different way. As mentioned in my original post 
> I used the Ubuntu 14 Puppet DB package on Ubuntu 16 because Ubuntu no 
> longer provided a PuppetDB package for Xenial. It's Java so as long as the 
> schema is unchanged it should still work, right? So has the schema changed 
> between PuppetDB 2.3.8 and the version of PuppetDB that would most commonly 
> accompany Puppet 5.4.x? If someone knowledgeable could let me know, or 
> provide the schema conversion SQL then I could do that until a more elegant 
> fix is provided by Puppet themselves. I couldn't find any files that looked 
> like they provided the schema or schema conversion within the source code 
> tree.

With respect to compatibility among versions:

  https://puppet.com/docs/puppetdb/5.2/versioning_policy.html#upgrades

Which means that if you want to go from puppetdb 3 to 6, you'll need to
at least fire up some version of 5 and wait for it to finish all the
database migrations before shutting it down.  (At startup puppetdb will
apply any that are necessary.)

And as mentioned, if you can get by without a package, you could also
just build an uberjar of whichever version you like from the source tree
and then run it manually.  All you should need is a recent version of
leiningen, openjdk 8 or similar, and the relevant puppetdb source tree.
(I'm happy to help with that process if it seems useful.)

Or, perhaps even simpler than the uberjar in the short run (if it's
feasible), you can run the server directly from the source tree like
this:

  lein trampoline run services -c your-puppetdb.ini

In any case commenting out the :repositories section in the project.clj
should fix the artifactory problem, but I don't know if that's enough to
allow you to build packages.

Thanks
--
Rob Browning

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/87sh498z97.fsf%40yaga.corp.puppetlabs.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to