There seems to be a syntax problem with using an IP as an index value. This code works without the periods. I cannot figure out how to escape the values, maybe using sed somehow would work to change the periods back and forth
bundle edit_line fix_etc_hosts { vars: "names[127.0.0.1]" string => "localhost localhost.cfengine.com"; "names[128.39.89.12]" string => "myhost myhost.cfengine.com"; "names[128.39.89.13]" string => "otherhost otherhost.cfengine.com"; # etc
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine