Hi all, In my systems (SL 6.3, RH like) I''m installing Oracle''s Java. I''m managing the package and several links under /etc/alternatives with puppet, but for configuring it, all the ''official'' docs recommends ''alternatives''. I''ve been looking for some module which already deals with it, but I''ve not found any... anyone knows any module with deals with alternatives? TIA, Arnau -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 11/20/2012 01:05 PM, Arnau Bria wrote:> Hi all, > > In my systems (SL 6.3, RH like) I''m installing Oracle''s Java. > I''m managing the package and several links under /etc/alternatives > with puppet, but for configuring it, all the ''official'' docs recommends > ''alternatives''. I''ve been looking for some module which already > deals with it, but I''ve not found any... anyone knows any module with > deals with alternatives? > > > TIA, > Arnau >Hi, I'' ve attached my java module. We needed to install multiple java versions on the same hosts, so, i repackaged them to make that possible. That''s why i use the alternatives to set a default system wide java version. I also added a spec file as example. This version is made to run on sles11spX. I''m now making the deb packages for the custom java version. I hope this will put you on the right track for a possible solution. Any comments are welcome. Grts johan -- Johan De Wit Open Source Consultant Red Hat Certified Engineer (805008667232363) Puppet Certified Professional 2013 (PCP0000006) _________________________________________________________ Open-Future Phone +32 (0)2/255 70 70 Zavelstraat 72 Fax +32 (0)2/255 70 71 3071 KORTENBERG Mobile +32 (0)474/42 40 73 BELGIUM http://www.open-future.be _________________________________________________________ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Tue, 20 Nov 2012 14:13:01 +0100 Johan De Wit wrote:> Hi,Hi,> I'' ve attached my java module.thanks!> We needed to install multiple java versions on the same hosts, so, i > repackaged them to make that possible. That''s why i use the > alternatives to set a default system wide java version. I also > added a spec file as example. > > This version is made to run on sles11spX. I''m now making the deb > packages for the custom java version. > > I hope this will put you on the right track for a possible solution.yes, I took some ideas from your code.> Any comments are welcome.> Grts > > johanMany thanks for your help, Cheers, Arnau -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.