Yes, unpack the bin and set up a repo or use exec's to download, unpack and install - easier to setup a repo though.
Den On 28/09/2012, at 0:06, Carsten Øland Madsen <carsten.ol...@gmail.com> wrote: > In a node I have (centos): > > class { 'java': distribution => 'jdk' } > > And when I run it I get: > > err: /Stage[main]/Java::Package_redhat/Package[java]/ensure: change from > absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install > jdk' returned 1: Error: Nothing to do > > So how to I get the link between the rpm's from doing > > ./jdk-6u25-linux-x64-rpm.bin -x > > to the class { 'java': distribution => 'jdk' } > > Do I need to setup a yum repository and install it with yumrepo and put the > java rpms there. > > And if so where can I find more information? > > Thanks > > > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/_qNtJ58um7cJ. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.