Question: How do I override binary selection in providers? I'd like to use /opt/jre(someversion)/bin/keytool, not /usr/bin/keytool.
Details (long): In this nifty thing: http://forge.puppetlabs.com/puppetlabs/java_ks The provider uses keytool in the $PATH: require 'puppet/util/filetype' Puppet::Type.type(:java_ks).provide(:keytool) do desc 'Uses a combination of openssl and keytool to manage Java keystores' commands :openssl => 'openssl' commands :keytool => 'keytool' But keytool can be java-version-specific, one of the dubious gifts of the java world: http://osdir.com/ml/java.jspwiki.user/2006-09/msg00160.html http://stackoverflow.com/questions/11963852 http://stackoverflow.com/questions/4262773 The keytool I want to use right now is /opt/jre1.6.0_31/bin/keytool (as installed by puppet), but that may change depending on the server and which daemon's keystores I'm managing. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.