I've given up on cf3's yum package management. I initially used package_method 
"yum," which worked fine ... until my package list got too long, and it broke 
(I tried putting my packages into two lists, no luck there.) I switched to 
"yum_rpm," which worked fine, until suddenly it stopped installing 
architectures other than the default (we require both architectures for a lot 
of things.) I was unable to get package removal to work at all with either 
method. I've found these issues particularly difficult to troubleshoot with 
verbose output, and after spending a reasonable amount of time on it, reverted 
back to installing our packages at kickstart time. 

This is on Redhat 6 systems, and I'm not sure how much of the problems are from 
yum, not cf3 ... Redhat has apparently gone from "always install every 
architecture unless told to install a specific version" to "make it as hard as 
possible to install anything in addition to x86_64" (as far as I can tell, it 
is impossible to create a package group that will install anything other than 
x86_64 on 64-bit systems, and the only way I was able to reliably get all 
architectures of the applicable packages installed was to enumerate packages by 
architecture.) 

I wish I had more data points and whatnot on this, but all of it went down 
under circumstances that weren't exactly leisurely. 



On May 6, 2011, at 10:14 AM, no-re...@cfengine.com wrote:

> Forum: Cfengine Help
> Subject: Re: Redhat Patching (update) using yum_rpm or yum via cfEngine.
> Author: debheller
> Link to topic: https://cfengine.com/forum/read.php?3,21796,21813#msg-21813
> 
> Yeah, understood.  There is some package handling available, but not in the 
> way you're looking for - which seems to be Linux-centric.  Have you seen this?
> 
> http://www.cfengine.org/manuals/cf3-solutions.html#Add-software-packages-to-the-system
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to