Skip to content

Instantly share code, notes, and snippets.

@kylog
Created July 15, 2015 19:23
Show Gist options
  • Select an option

  • Save kylog/d16d1d83772dd3787b63 to your computer and use it in GitHub Desktop.

Select an option

Save kylog/d16d1d83772dd3787b63 to your computer and use it in GitHub Desktop.
[11:54:52] <prometheanfire> should the puppetdb-termini line be puppetdb-terminus in http://docs.puppetlabs.com/puppetdb/latest/connect_puppet_master.html ?
[11:55:41] <prometheanfire> need to know for packaging puppetdb and puppet-server (unliess db access is built into puppet-server)
[11:55:46] Mode is +cnt
[11:57:04] <prometheanfire> also, are there instructions for connecting puppet-db to puppet-server? the link provided doesn't show
[11:58:53] <daenney> So those are usage questions and should be directed to #puppet, not #puppet-dev
[11:59:14] <prometheanfire> the first question is not
[11:59:19] <prometheanfire> I think it's a doc problem
[11:59:27] <daenney> That's still a usage question
[11:59:34] <daenney> And it's not, the package has been renamed
[11:59:37] <prometheanfire> I can find no refrence to puppetdb-termini as a package
[11:59:38] <daenney> Which is in the migration guide
[12:01:28] <daenney> And even docs questions, as long as they relate to the usage instrucitons of Puppet are for #puppet. If this was about a docstring in the code base itself then maybe
[12:01:32] <prometheanfire> still can't find any refrence to it, where are the sources so I can package it?
[12:05:54] <prometheanfire> current instructions say to enable the repo and install puppetdb-termini
[12:06:01] <prometheanfire> I cannot find that package in the repos
[12:06:04] <prometheanfire> https://apt.puppetlabs.com/
[12:08:08] <Elyscape> try puppetdb-terminus instead
[12:08:21] <Elyscape> https://apt.puppetlabs.com/pool/wheezy/main/p/puppetdb/
[12:08:25] <prometheanfire> that's what I thought
[12:08:54] <prometheanfire> was just looking for confirmation, but there's nothing I can find anywhere that states puppetdb-termini == puppetdb-terminus
[12:09:03] <daenney> Noooooo
[12:09:10] <daenney> puppetdb-terminus doesn't work with Puppetdb 3
[12:09:28] <daenney> In order to use PuppetDB 3 and actually get hte PuppetDB 3 packages you need to enable the Puppet Collections 1 repository
[12:09:49] <daenney> Whcih again, is a USAGE question/problem, and comes as a consequence of people not reading the documentation
[12:09:52] <daenney> So here: https://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#apt-based-systems
[12:11:45] <Elyscape> indeed
[12:11:55] <prometheanfire> ok packaged here https://yum.puppetlabs.com/el/7/PC1/x86_64/
[12:12:09] <prometheanfire> so, where's the source?
[12:12:13] <prometheanfire> I need that to package
[12:12:18] <prometheanfire> and that is not a user question
[12:14:12] <Elyscape> https://github.com/puppetlabs/puppetdb/blob/master/contrib/gem/puppetdb-terminus.gemspec
[12:14:22] <Elyscape> it's a ruby gem
[12:14:24] <daenney> It would also be available here for example: https://apt.puppetlabs.com/pool/wheezy/PC1/p/puppetdb/
[12:14:40] <Elyscape> built from the puppetdb repository
[12:14:59] <prometheanfire> so there's no published gem for puppetdb-termini? only puppetdb-terminus?
[12:15:13] <prometheanfire> sourcing from a gem is easy for us
[12:15:32] <Elyscape> I don't think puppetdb-termini is a thing
[12:16:10] <Elyscape> the puppetdb termini are provided by the puppetdb-terminus package/gem
[12:16:24] <Elyscape> but puppetdb-termini isn't something that actually exists
[12:16:37] <Elyscape> here's more on the puppetdb-terminus gem: https://github.com/puppetlabs/puppetdb/tree/master/contrib/gem
[12:16:48] <Elyscape> and the source is here: https://github.com/puppetlabs/puppetdb/tree/master/puppet
[12:17:06] <prometheanfire> https://rubygems.org/gems/puppetdb-terminus/ hasn't been updated :P
[12:17:07] <daenney> Eh, puppetdb-termini exists just fine, it's just a package name
[12:17:32] <prometheanfire> so it doesn't exist in anything but name?
[12:17:34] <Elyscape> oh hey, that's the new name
[12:17:39] <Elyscape> ELI SMART
[12:17:45] <daenney> Very good
[12:17:52] <daenney> Now we're getting somewhere
[12:18:18] <prometheanfire> should I wait til the gem is properly published?
[12:19:47] <prometheanfire> packaging puppet seems to be going the same way chef went, meaning impossible
[12:20:15] <daenney> Why do you even need to package it yourself?
[12:20:26] <prometheanfire> I'm packaging it for gentoo
[12:20:37] <prometheanfire> also, on the infra team in gentoo
[12:20:48] <prometheanfire> we want to use puppetdb
[12:21:02] <prometheanfire> already using puppet/hiera, but want to expand it
[12:21:39] <daenney> So, if you're on Puppet 3 you can stick to PuppetDB 2.3.x until the packaging issues have been figured out
[12:22:10] <prometheanfire> I'd rather not have to go through a migration packaging wise
[12:22:41] <prometheanfire> so I'll probably wait
[12:22:44] <daenney> ken_barber might know how the puppetdb-termini thing is supposed to work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment