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 => ['-vh','--prefix=/u01/app/oracle/product/java'],
>


I'm glad this is working for you.

I do note, however, that it is not a general-purpose solution, as only RPMs 
that have been built with relocation support (which is not the default) can 
be relocated that way.


John

-- 
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/68282d4d-6caa-484f-9431-4bd398446f02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to