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 1:39 PM, Spencer Krum <[email protected]>
wrote:

> 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 <
> [email protected]> wrote:
>
>> 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 =>
>> '/etc/puppetlabs/puppet/environments/development/modules/java_rpm/files/jdk-7u25-linux-x64.rpm',
>>  ensure
>> => installed,}}*
>>
>> I am having this issue.
>>
>> *Error: Execution of '/bin/rpm -i "-ivh
>> --prefix=/u01/app/oracle/product/jdk1.7.0_25/"
>> /etc/puppetlabs/puppet/environments/development/modules/java_rpm/files/jdk-7u25-linux-x64.rpm'
>> returned 1: error: open of -ivh\
>> --prefix=/u01/app/oracle/product/jdk1.7.0_25/ failed: No such file or
>> directory*
>> *Error: /Stage[main]/Java_rpm/Package[jdk7u25]/ensure: change from absent
>> to present failed: Execution of '/bin/rpm -i "-ivh
>> --prefix=/u01/app/oracle/product/jdk1.7.0_25/"
>> /etc/puppetlabs/puppet/environments/development/modules/java_rpm/files/jdk-7u25-linux-x64.rpm'
>> returned 1: error: open of -ivh\
>> --prefix=/u01/app/oracle/product/jdk1.7.0_25/ failed: No such file or
>> directory*
>>
>>  Please Help me
>>
>> --
>> 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/6ad85513-4e6c-43ef-90be-01d16fdd53df%40googlegroups.com
>> <https://groups.google.com/d/msgid/puppet-users/6ad85513-4e6c-43ef-90be-01d16fdd53df%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Spencer Krum
> (619)-980-7820
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Puppet Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/puppet-users/TtCoAlZ4vqE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/CADt6FWPK8LCN8cd_X0kZY%3DHPSKZ_Z2D9rzhLV%3DvvJ71hWAHaRg%40mail.gmail.com
> <https://groups.google.com/d/msgid/puppet-users/CADt6FWPK8LCN8cd_X0kZY%3DHPSKZ_Z2D9rzhLV%3DvvJ71hWAHaRg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAEySWyHaLeeWgSQU7xskwFw%3DiA-onjhdb2o-Wq7wXQhqZ9C8Cg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to