Re: package versions and external checks

Luke Kanies
Mon, 13 Aug 2007 14:40:38 -0000

On Aug 13, 2007, at 5:54 AM, David Schmitt wrote:
>
> You could write a puppet function, which does the lookup and use it
> like this:
>
> package { $p: ensure => target_version($p) }
>
> Perhaps you can access some puppet internals even, to see where you
> are
> called, to avoid the parameter?

Another option, depending on your platform, is to keep a local
repository that only has versions you want in it, so it''s always safe
to upgrade.

That''s probably the easiest to maintain.

  --
  If a `religion'' is defined to be a system of ideas that contains
  unprovable statements, then Godel taught us that mathematics is not
  only a religion, it is the only religion that can prove itself to be
  one. 					-- John Barrow
  ---------------------------------------------------------------------
  Luke Kanies | http://reductivelabs.com | http://madstop.com