You could do it with an Exec{} that enables the repo, another Exec{} that
does a yum clean (but requires the first Exec{}), a Package{} that requires
the first two Exec{}'s, and then a final Exec{} that disables the repo
again, and depends on everything else happening first. Ick....

On Mon, Aug 15, 2011 at 11:17 AM, Sans <r.santanu....@gmail.com> wrote:

> Dear all,
>
> Is there any way to enable a particular yum-repo (like: yum --
> enablerepo=<repo_name>), which is disabled as default, for a
> particular package installation? For our system, we need to "dag" for
> particular two packages but keeping it always enabled, clashes with
> other packages, which we don't want to install for dag at all. What's
> the option(s) I have to do that? Cheers!!
>
> --
> 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.
>
>


-- 
Regards,

Douglas Garstang
http://www.linkedin.com/in/garstang
Email: doug.garst...@gmail.com
Cell: +1-805-340-5627

-- 
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.

Reply via email to