On 09/09/2012 10:22 PM, Diego Zamboni wrote: > Nick, > > You are indeed hitting a bug, this one: > https://cfengine.com/bugtracker/view.php?id=904 > > The workaround is to condition the getindices() so that it happens only on > the second pass, with something like this: > > secondpass:: > "array_keys" slist => getindices("local_array"); > > classes: > "secondpass" expression => "any";
Ah yes, I thought I saw a bug that sounded like this, but I was unable to find it again. After posting I thought I should check if getindices returned a different list after the first pass, just hadn't gotten to it yet. Thanks! I believe I hit this previously and was the source of some confusion. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine