Re: [Puppet Users] trying to install jdk1.7 using rpm in a different directory

2014-06-11 Thread Supriya Uppalapati
Hi, The answer for installing java using rpm in different locations is class java_rpm { $version = 'jdk-7u25-linux-x64.rpm' package { $version: provider = rpm, #exec {$version: install_options = ['-vh','--prefix=/u01/app/oracle/product/java'], #owner = oracle, #group = oinstall, #mode =

Re: [Puppet Users] trying to install jdk1.7 using rpm in a different directory

2014-06-11 Thread jcbollinger
On Wednesday, June 11, 2014 7:03:16 AM UTC-5, Supriya Uppalapati wrote: Hi, The answer for installing java using rpm in different locations is class java_rpm { $version = 'jdk-7u25-linux-x64.rpm' package { $version: provider = rpm, #exec {$version: install_options =

[Puppet Users] trying to install jdk1.7 using rpm in a different directory

2014-06-10 Thread Supriya Uppalapati
Hi, I am trying to install jdk1.7.0_25 using rpm in /u01/app/oracle/product/jdk1.7.0_25/. I downloaded rpm from oracle. Here is my code *class java_rpm { package { jdk7u25: provider = rpm, install_options = ['-ivh --prefix=/u01/app/oracle/product/jdk1.7.0_25/'], source =

Re: [Puppet Users] trying to install jdk1.7 using rpm in a different directory

2014-06-10 Thread Spencer Krum
If your goal is to install java into a nonstandard directory... why not just pull down the jdk tarball and untar that? On Tue, Jun 10, 2014 at 8:06 AM, Supriya Uppalapati supriya.uppalap...@gmail.com wrote: Hi, I am trying to install jdk1.7.0_25 using rpm in

Re: [Puppet Users] trying to install jdk1.7 using rpm in a different directory

2014-06-10 Thread Supriya Uppalapati
Hi, My requirement says to use rpm based. Can we use install_options in puppet-enterprise 3.2 versions. If I do it manually it is installing In specifiyed location. But when I am using installed_options in puppet it is throwing me error Let me know Appreciate your help On Tue, Jun 10, 2014 at

Re: [Puppet Users] trying to install jdk1.7 using rpm in a different directory

2014-06-10 Thread Spencer Krum
I have no experience with using install_options to install an rpm into a separate directory. Sorry. On Tue, Jun 10, 2014 at 10:47 AM, Supriya Uppalapati supriya.uppalap...@gmail.com wrote: Hi, My requirement says to use rpm based. Can we use install_options in puppet-enterprise 3.2