Try the install_options attribute of the package type.  You need to know what 
the install option is for the JDK itself to go to another folder, then use the 
install_options attribute in puppet.

http://docs.puppetlabs.com/references/latest/type.html#package-attribute-install_options



From: bobby38 
Sent: Thursday, June 26, 2014 1:04 PM
To: [email protected] 
Subject: [Puppet Users] installation of package to a different folder

Hello All,

I am trying to install jdk package to a different folder rather than the 
default folder.
i am trying to install for instance to /operation/tools/jdk-1.7
is there anyway to do this in puppet?

Thanks and regards
Babak 
-- 
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/fb472935-a473-42e3-bf73-fe9404da7088%40googlegroups.com.
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/7CD82A228E59449380028A4617A66069%40JimHPPavilionG6.
For more options, visit https://groups.google.com/d/optout.

Reply via email to