I am doing a replace or add on a string and I am getting unexpected results, namely the value isn't being replaced.
https://gist.github.com/1981225 before the run $ cat /tmp/network HOSTNAME=node1.domain.com after the run $ cat /tmp/network HOSTNAME=node1.domain.com HOSTNAME=node1 NISDOMAIN=domain.com expected $ cat /tmp/network HOSTNAME=node1 NISDOMAIN=domain.com Now I don't know why I wasn't doing this with set_variable_values in the first place, I am about to change it since that makes more sense, but I am still curious why I am getting this unexpected behavior. -- Nick Anderson <n...@cmdln.org> _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine