I’ve had a similar situation where I needed *one* package out of repoforge, but it created dependency hell everywhere else. My solution was to create my own local repository (and I’m using a chef cookbook to set up this repository). For me, it particularly made sense because I also have a couple RPMs that I need but aren’t in available in any public repo at all. I haven’t yet figured out a way to keep these RPMs updated automatically, though. From: Jeremy Koerber [mailto:
Hi, I have this in a recipe: but the options are not being passed to yum and the package fails to install because it isn't found in my regular yum repos that are enabled by default. I can't enable the amzn-main repo by default because then the system starts using it for everything, and I end up with some messy dependency conflicts. Plus, I strongly prefer to just use the CentOS-Base repo wherever possible. So.. Looking at http://docs.opscode.com/resource_package.html and I see: So that would explain why Yum isn't getting the options passed to it. So my questions are: is there a way to do this, and why can't chef pass options to yum just like APT? Thanks much for any help.. Jeremy |
Archive powered by MHonArc 2.6.16.