Forum: Cfengine Help
Subject: Re: Should getindices provide the same order every time?
Author: bbomgardner
Link to topic: https://cfengine.com/forum/read.php?3,20408,20424#msg-20424

I think what I'm going to do is make use of Diego's brilliant 
set_variable_values bundle instead of using getindices in this way.

By using both a field_edit and an insert_line, his bundle avoids having to 
delete "$(parameter_name).*".  As a result there is no risk to having the 
variables placed in a different order after the new file is built.



Diego, this is a becoming a popular bundle!  Thanks!  =)

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to