Hello, I need to be able to get the "contents" or value if you will of a cfengine group from a command line and/or perl script. I did find the cfagent -p -v which lists the groups but not their contents. For example
If cfagent.conf contains the following: groups: group_a = ( node_1 node_2 ) group_b = ( node_3 node_4 ) mynodes = ( group_a group_b ) then I'd like something like getcfgroups ("mynodes") to return something like "node_1 node_2 node_3 node_4" if mynodes is define and "" if it is not. I am going to write a perl sub to do this, but thought I would check here first to see if this functionality already exists somewhere. I'm running cfengine 2.1.15 Thanks for your time! Bruce... _______________________________________________ Help-cfengine mailing list [EMAIL PROTECTED] http://cfengine.org/mailman/listinfo/help-cfengine