Hi,
package { “xyz”:
ensure => latest,
enablerepo => “epel”, }
This internally executes,
yum -y --enablerepo=epel install xyz.
So can use "Exec" just for enabling repo and then you can use package
resource to install package.
I hope this should work.
Thanks and Regards,
Sneha More,
NTTD GTS, OSS centre, India (Pune)
On Friday, September 13, 2013 8:53:32 PM UTC+5:30, puppetstan wrote:
>
> Hi
>
> I would like to use enablerepo option for activate repo and verify package
> latest version
>
> my manifest :
>
> package { "fusioninventory-agent": ensure => latest, enablerepo => [
> "epel", "remi" ]; }
>
> there this patch : http://projects.puppetlabs.com/issues/2247 but it does
> not work in my configuration
>
> Can you have the same problem or an other solution to activate multiple
> rpm repo with enablerepo command?
> regards
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.