Forum: CFEngine Help Subject: How to remove a string from an slist based off of a class. Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,23646,23646#msg-23646
This may be a total n00b question, but lets say I have the following.... vars: "test_list" slist => {"one", "two", "three" }; I want to remove a value from the slist and dump to a new slist variable if some class is met... so.. vars: "test_list" slist => {"one", "two", "three" }; linux:: "linux_slist" slist => (whatever test_list is minus the string "two") Anyone have a working example? _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine