It is pretty hard to determine what you did wrong when you haven't shared what you did...
Humorously: before the job: Bank Account: $192.37 after the job: Bank Account: $193.42 expected: Bank Account: $3,987,245.22 Can you discover what did I do wrong? On Mar 5, 2012, at 4:37 PM, Nick Anderson wrote: > 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 _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine