[Pkg-puppet-devel] RFP: puppetdb-termini -- Enable a Puppet master to connect to PuppetDB
micah
micah at debian.org
Wed Feb 1 17:07:41 UTC 2017
micah <micah at riseup.net> writes:
> I agree that it doesn't look hard to add the terminus package, but I was
> hoping we could provide some kind of upgrade path for people to keep
> their storedconfig database, but I can't seem to figure out what is
> going on here.
Ok, I got it working:
1. wget http://downloads.puppetlabs.com/puppetdb/puppetdb-2.3.8.tar.gz
2. verify and uncompress it
3. cp -avp puppetdb-2.3.8/ext/master/lib/puppet/* /usr/lib/ruby/vendor_ruby/puppet/
4. copy active record dbadapter details to [main] section of puppet.conf
5. apply the attached patch[0] to
/usr/lib/ruby/vendor_ruby/puppet/face/storeconfigs.rb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: storedconfigs.patch
Type: text/x-diff
Size: 1372 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20170201/380c3a70/attachment.patch>
-------------- next part --------------
6. puppet storeconfigs export
7. copy the exported file to the server running puppetdb software and
import the data with:
puppetdb import --infile ./storeconfigs-2017XXXXXX.tar.gz
This wouldn't be too hard to make work in a debian package, so people
can actually upgrade, but we need the termini package first.
micah
0. https://tickets.puppetlabs.com/browse/PDB-165
More information about the Pkg-puppet-devel
mailing list