Supriya Uppalapati
2014-Jun-10 15:06 UTC
[Puppet Users] trying to install jdk1.7 using rpm in a different directory
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 puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/6ad85513-4e6c-43ef-90be-01d16fdd53df%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.