Re: [Puppet Users] Selecting repos
- Original Message - | Hi all, | | Got an issue which is starting to annoy me. | | How do people currently select repos from which to install particular | packages? Currently we have a base centos, (enabled by default), and | several others that I want to enable and disable for particular | packages, | like being able to use the --disablerepo=* --enablerepo=somerepo. | | Anyone solved this issue or have a good work around. Basically there | are | some packages in the different repos that break some installs so I | don't | want them to be constantly enabled. We could manage the exclusions via | the | yumrepo type but that might be fiddly to manage. | | What have other people done? | | Cheers, | Den It sucks but this is what I do currently. As already mentioned there are a couple of bug reports/feature requests to add this kind of support. class alpine { exec {"install_alpine": command => '/usr/bin/yum -y install alpine --enablerepo=rpmforge', } } -- James A. Peltier IT Services - Research Computing Group Simon Fraser University - Burnaby Campus Phone : 778-782-6573 Fax : 778-782-3045 E-Mail : jpelt...@sfu.ca Website : http://www.sfu.ca/itservices http://blogs.sfu.ca/people/jpeltier -- 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.
Re: [Puppet Users] Selecting repos
Hi, tu2bg...@gmail.com writes: > How do people currently select repos from which to install particular > packages? Currently we have a base centos, (enabled by default), and > several others that I want to enable and disable for particular > packages, like being able to use the --disablerepo=* > --enablerepo=somerepo. We don't. We have a local yum repo (several of them actually) where we pull a copy of the packages we need. -- Arnaud -- 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.
Re: [Puppet Users] Selecting repos
Hi Den, at least I can tell you that you're not the only one encountering this issue: http://projects.puppetlabs.com/issues/2247 -Stefan On Tue, Jul 12, 2011 at 01:13:10AM +, tu2bg...@gmail.com wrote: > Hi all, > > Got an issue which is starting to annoy me. > > How do people currently select repos from which to install particular > packages? Currently we have a base centos, (enabled by default), and > several others that I want to enable and disable for particular packages, > like being able to use the --disablerepo=* --enablerepo=somerepo. > > Anyone solved this issue or have a good work around. Basically there are > some packages in the different repos that break some installs so I don't > want them to be constantly enabled. We could manage the exclusions via the > yumrepo type but that might be fiddly to manage. > > What have other people done? > > Cheers, > Den > > -- > 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. > -- 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.
[Puppet Users] Selecting repos
Hi all, Got an issue which is starting to annoy me. How do people currently select repos from which to install particular packages? Currently we have a base centos, (enabled by default), and several others that I want to enable and disable for particular packages, like being able to use the --disablerepo=* --enablerepo=somerepo. Anyone solved this issue or have a good work around. Basically there are some packages in the different repos that break some installs so I don't want them to be constantly enabled. We could manage the exclusions via the yumrepo type but that might be fiddly to manage. What have other people done? Cheers, Den -- 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.