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 <[email protected]> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to