I On Thu, Sep 1, 2011 at 7:56 PM, Ryan Williams <r...@integritynet.com.au> wrote: > Hi, > > Does anyone have an example for cfengine3 which implements the yum > groupinstall method through the package management section. > > > I wish to install Gnome & X Windows. > > the command line required is: yum groupinstall “X Window System” “Desktop”
I don't have this today. If you look at the "yum" package method in cfengine_stdlib.cf, you'll see it defines what command to run to list packages, and regex for parsing the output from that command. I believe you'd need to make a new package method (yumgroup?) and define the list command (yum grouplist) and the regex for parsing that to determine installed groups, and a command for a installing a new group. Want to make something like this? I'm sure the list can help you out if you get bogged. Yours, Aleksey _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine