Forum: Cfengine Help
Subject: Behaviour change in 3.1.4
Author: hristob
Link to topic: https://cfengine.com/forum/read.php?3,21358,21358#msg-21358

I have following in edit_line bundle

   
"pw" int => 
readstringarray("rpw","$(sys.workdir)/ppkeys/rootpw.txt","#[^\n]*",":","1","200");

  field_edits:
   "root:.*"

      # Set field of the file to parameter
      edit_field => col(":","2","$(rpw[1])","set");


It is working as expected in cfengile 3.0.4, but in cfenfine 3.1.4 $(rpw[1]) is 
put in the filed instead of the value in the file.

Where could be the problem?

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

Reply via email to