In your situation, I'd file a bug with puppetlabs about this, at least because this makes puppetdb not trivially installable in squeeze. From the control files for the last two puppetdb packages:
Package: puppetdb
Version: 2.0.0-1puppetlabs1
Architecture: all
Maintainer: Puppet Labs <
in...@puppetlabs.com>
Installed-Size: 24176
Depends: java7-runtime-headless | j2re1.7, adduser, puppet (>= 2.7.12)
Package: puppetdb
Version: 1.6.3-1puppetlabs1
Architecture: all
Maintainer: Puppet Labs <
in...@puppetlabs.com>
Installed-Size: 23732
Depends: java7-runtime-headless | j2re1.7 | java6-runtime-headless, adduser, puppet (>= 2.7.12)
That said, openjdk-7-jre-headless exists in wheezy (provided by openjdk-7-jre-headless) and you'll probably do less work if you build your hosts in wheezy. I personally would go for the less-work version.
Apart from that, you could try one of these:
create and install a stub java7-runtime-headless deb just to get it in the installed packages list
use apt pinning to install an earlier puppetdb (but
http://docs.puppetlabs.com/puppetdb/latest/puppetdb-faq.html#which-versions-of-java-are-supported if you have issues later)
import openjdk-7-jre-headless and dependencies from wheezy to your squeeze repo and see if it installs/functions cleanly
repackage puppetdb without that dependency (now I'm getting ridiculous)
> [1][2]
Salty....@gmail.com
> >
> > [2][3]
http://blog.berghold.net
> >
> > --
> > 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 [3][4]
puppet-users...@googlegroups.com.
> > To view this discussion on the web visit
> >
> [4][5]
https://groups.google.com/d/msgid/puppet-users/CAArvnv07%3DfCFnUfJ1LAZUjpHbVYXYx_0PQSCJZgqOpGg1pLM1A%40mail.gmail.com.
> > For more options, visit [5][6]
https://groups.google.com/d/optout.
> >
> > References
> >
> > Visible links
> > 1. mailto:[7]
Salty....@gmail.com
> > 2. [8]
http://blog.berghold.net/
> > 3. mailto:[9]
puppet-users...@googlegroups.com
> > 4.
> [10]
https://groups.google.com/d/msgid/puppet-users/CAArvnv07%3DfCFnUfJ1LAZUjpHbVYXYx_0PQSCJZgqOpGg1pLM1A%40mail.gmail.com?utm_medium=email&utm_source=footer
> > 5. [11]
https://groups.google.com/d/optout
> --
> 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 [12]
puppet-users...@googlegroups.com.
> To view this discussion on the web visit
> [13]
https://groups.google.com/d/msgid/puppet-users/20140520194150.GA9787%40iniquitous.heresiarch.ca.
> For more options, visit [14]
https://groups.google.com/d/optout.
>
> --
>
> Peter L. Berghold [15]
Salty....@gmail.com
>
> [16]
http://blog.berghold.net
>
> --
> 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 [17]
puppet-users...@googlegroups.com.
> To view this discussion on the web visit
> [18]
https://groups.google.com/d/msgid/puppet-users/CAArvnv33Ydf%2Bt3EFdyXg-398qTcH-j3_TfdKjY2Sy1HMZVPctQ%40mail.gmail.com.
> For more options, visit [19]
https://groups.google.com/d/optout.
>
> References
>
> Visible links
> 1. mailto:
christop...@pobox.com
> 2. mailto:
Salty....@gmail.com
> 3.
http://blog.berghold.net/
> 4. mailto:
puppet-users%2Bunsu...@googlegroups.com
> 5.
https://groups.google.com/d/msgid/puppet-users/CAArvnv07%3DfCFnUfJ1LAZUjpHbVYXYx_0PQSCJZgqOpGg1pLM1A%40mail.gmail.com
> 6.
https://groups.google.com/d/optout
> 7. mailto:
Salty....@gmail.com
> 8.
http://blog.berghold.net/
> 9. mailto:
puppet-users%2Bunsu...@googlegroups.com
> 10.
https://groups.google.com/d/msgid/puppet-users/CAArvnv07%3DfCFnUfJ1LAZUjpHbVYXYx_0PQSCJZgqOpGg1pLM1A%40mail.gmail.com?utm_medium=email&utm_source=footer
> 11.
https://groups.google.com/d/optout
> 12. mailto:
puppet-users%2Bunsu...@googlegroups.com
> 13.
https://groups.google.com/d/msgid/puppet-users/20140520194150.GA9787%40iniquitous.heresiarch.ca
> 14.
https://groups.google.com/d/optout
> 15. mailto:
Salty....@gmail.com
> 16.
http://blog.berghold.net/
> 17. mailto:
puppet-users...@googlegroups.com
> 18.
https://groups.google.com/d/msgid/puppet-users/CAArvnv33Ydf%2Bt3EFdyXg-398qTcH-j3_TfdKjY2Sy1HMZVPctQ%40mail.gmail.com?utm_medium=email&utm_source=footer
> 19.
https://groups.google.com/d/optout