puppetdb and oracle java

60 views
Skip to first unread message

jdausilio

unread,
Sep 26, 2014, 10:23:01 AM9/26/14
to puppet...@googlegroups.com
The requirements for puppetdb specify that it supports 1.7 from either openjdk or oracle. I've got oracle installed (RHEL6) but the rpm insists on openjdk (which I can't install for other reasons). Anyone know of a way around this, or am I going to have to hack the package?

John D

Ken Barber

unread,
Sep 26, 2014, 10:32:04 AM9/26/14
to Puppet Users
Huh, I guess you are right looking at the spec:

https://github.com/puppetlabs/puppetdb/blob/master/ext/redhat/puppetdb.spec.erb

Honestly, you are the first one to pick complain about this :-). Worth
a bug: https://tickets.puppetlabs.com/browse/PDB

Why can't you install OpenJDK? Understanding this would help us
understand the priority of such a fix.

ken.

Christopher Wood

unread,
Sep 26, 2014, 10:47:08 AM9/26/14
to puppet...@googlegroups.com
The puppetdb rpm requires:

java-1.7.0-openjdk

In your place I'd see if creating a stub rpm with that name will satisfy the requirement. By "stub" I mean a /usr/share/doc/java-1.7.0-openjdk/README file explaining that there's a method to this rpm's madness. ;)

I'd try it, but it's bash cve day again and I'm toiling elsewhere.

$ rpm -qRp puppetdb-2.2.0-1.el6.noarch.rpm
warning: puppetdb-2.2.0-1.el6.noarch.rpm: Header V4 RSA/SHA512 Signature, key ID 4bd6ec30: NOKEY
/bin/bash
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
chkconfig
config(puppetdb) = 2.2.0-1.el6
facter >= 1.7.0
java-1.7.0-openjdk
puppet >= 3.5.1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
> --
> 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 [1]puppet-users...@googlegroups.com.
> To view this discussion on the web visit
> [2]https://groups.google.com/d/msgid/puppet-users/f83f1e9d-bfa3-4c98-a72d-c5e5b94322bc%40googlegroups.com.
> For more options, visit [3]https://groups.google.com/d/optout.
>
> References
>
> Visible links
> 1. mailto:puppet-users...@googlegroups.com
> 2. https://groups.google.com/d/msgid/puppet-users/f83f1e9d-bfa3-4c98-a72d-c5e5b94322bc%40googlegroups.com?utm_medium=email&utm_source=footer
> 3. https://groups.google.com/d/optout

jdausilio

unread,
Sep 26, 2014, 10:54:01 AM9/26/14
to puppet...@googlegroups.com
PDB-891
Reply all
Reply to author
Forward
0 new messages