Hi Dirk,

thank you for confirming. Guess I should submit a but to puppetlabs-java.. 

Anyway, here's a simple class that installs it from ppa:webupd8team:

class java {

  $package = 'oracle-java7-installer'


  file { '/tmp/java.preseed':

    content => 'oracle-java7-installer shared/accepted-oracle-license-v1-1 
select true                                 

oracle-java7-installer shared/accepted-oracle-license-v1-1 seen true',

    mode   => '0600',

    backup => false,

  }


  include apt

  apt::ppa { 'ppa:webupd8team/java': }

  package { "$package":

    responsefile => '/tmp/java.preseed',

    require      => [

                     Apt::Ppa['ppa:webupd8team/java'],

                     File['/tmp/java.preseed']

                     ],

  }

 }


On Tuesday, June 10, 2014 8:11:55 AM UTC+2, Dirk Heinrichs wrote:
>
>  Am 10.06.2014 07:35, schrieb Milan Simonović:
>  
> I'm still trying to figure out how to install java *just using* 
> puppetlabs-java module.
>
>
> You can't. There is no package "oracle-jdk" on Ubuntu.
>
> Bye...
>
>     Dirk
> -- 
>
> *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions
> *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach
> *Tel*: +49 2226 1596666 (Ansage) 1149
> *Email*: [email protected] <javascript:>
> *Skype*: dirk.heinrichs.recommind
> www.recommind.com
>  

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/9dd9ad58-60a1-4402-b7a3-5a73a556a42c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to