puppet newbie trying to install bin file through puppet. How would I go about it? class java { package {"java_package": provider => "bin", <--this did not work # source => "puppet:///application/jdk-6u23-linux-x64-rpm.bin", source => "http://10.31.31.1/jdk-6u23-linux-x64-rpm.bin", ensure => installed } } -- 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.
Aren''t these normally self-contained archives with a script? You would need to write an exec{} statement that wget''s the .bin, runs it with whatever arguments are required for installing, and then cleans up the archive afterwards. If you add in a "creates =>" to the location of the install you can ensure this only occurs once. On Wed, Feb 23, 2011 at 3:05 PM, Steve <some1youknow@gmail.com> wrote:> puppet newbie trying to install bin file through puppet. How would I > go about it? > > > > class java { > > package {"java_package": > provider => "bin", <--this did not work > # source => "puppet:///application/jdk-6u23-linux-x64-rpm.bin", > source => "http://10.31.31.1/jdk-6u23-linux-x64-rpm.bin", > ensure => installed > } > } > > -- > 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. > >-- 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.
I''d unpack the binary RPM, put it in a yum repo somewhere and install it with package {}. ken. On Feb 23, 8:05 pm, Steve <some1youk...@gmail.com> wrote:> puppet newbie trying to install bin file through puppet. How would I > go about it? > > class java { > > package {"java_package": > provider => "bin", <--this did not work > # source => "puppet:///application/jdk-6u23-linux-x64-rpm.bin", > source => "http://10.31.31.1/jdk-6u23-linux-x64-rpm.bin", > ensure => installed > } > > > > > > > > }-- 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.