Forum: CFEngine Help Subject: Re: convert class name into a string Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,24123,24159#msg-24159
Could you read in /var/cfengine/state/allclasses.txt and use those as array indexes / an slist to get where you're trying to go? It's not completely clear to me how in-sync that file is with execution, but I presume it's kept fairly close if it's to be used in shell scripts and whatnot. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine