Sourcing to a HTTP address works? Since when?
On Mon, Feb 23, 2009 at 4:45 PM, Peter Meier <[email protected]> wrote:
>
> Hi
>
> > Make a regular http- or ftp-accessible repository (instead of using the
> > puppetmaster's file distribution facility), and use one of the
> > higher-level rpm-based package providers with the puppet package type
> > (yum, aptrpm, etc.). You might also be able to do this just with rpm and
> > a repository (I'm Redhat-illiterate). But the important thing would be
> > to ensure you can check if a package is already installed before you
> > attempt another rpm installation. Even if you had to fall back to an
> >
> > exec { "install-rabbit":
> > command => "rpm -Uvh http://path/to/rabbit.rpm"
> > }
> >
> > you could make that idempotent with an unless parameter:
> >
> > exec { "install-rabbit":
> > command => "rpm -Uvh http://path/to/rabbit.rpm",
> > unless => "rpm -qsomethingsomething rabbit | grep -q installed"
> > }
>
> package{'rabbit':
> ensure => present,
> source => "http://path/to/rabbit.rpm",
> privater => rpm,
> }
>
> works as well.
> However managing your own yum repository is easy and imho the best way
> to go.
>
> cheers pete
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---