Thanks for the tip, this hadn't occurred to me ...

On Apr 13, 2011, at 2:14 PM, Frans Lawaetz wrote:

> Michael,
> 
> I don't have a cf3-specific tip for you but you might want to consider 
> yum's package groups.  Look into yum-groups-manager.  I have a base 
> package group with over a thousand RPMs in it.  I then have cf3 do a 
> "yum clean all; yum groupinstall basegroup" when needed and it will add 
> any package additions.
> 
> yum-groups-manager -n"Base Group"  --id=Base-Group --save=./basegroup.xml 
> --merge=./comps.xml --mandatory `cat baserpms.txt`
> 
> baserpms.txt is of the following format:
> 
> a2ps.x86_64
> acl.x86_64
> acpid.x86_64
> ...
> 
> then you merge it into the default repo with:
> 
> createrepo --database --update -g 
> /mirror/linux/centos/5/os/x86_64/repodata/comps.xml  
> /mirror/linux/centos/5/os/x86_64/
> 
> 
> basegroup will now show up in "yum grouplist".
> 
> This works on CentOS5, I'm assuming it'll do the same for RHEL6.
> 
> Frans
> 
> _______________________________________________
> 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