Hello all, Assuming the following (edited) output from a netstat -i
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll lan2:4 1500 xxx.xxx.xxx.xxx name1.domain 1916681074 0 22 0 0 lan2 1500 xxx.xxx.xxx.xxx name2.domain 1462215563 0 926778993 0 0 lan5:1 1500 xxx.xxx.xxx.xxx name3 1436691065 0 76535747 0 0 lan1* 1500 none none 0 0 0 0 0 lan0 1500 xxx.xxx.xxx.xxx name4 11705845 0 22842341 0 0 lo0 4136 loopback localhost 351634044 0 351634872 0 0 lan5:3 1500 xxx.xxx.xxx.xxx name5.domain 9214 0 9172 0 0 : : : : : With version 2.2.9 name1, name2, name3, name4 and name5 would be defined as classes (what I call discovered classes). With version 3.0.2 and 3.0.4 the discovered classes stop at the first entry that matches none (tested on multiple servers) meaning only name1, name2 and name3 are defined. All of the classes that should be defined as per the 2.2.9 behavior are no longer defined. Needless to say that this change in behavior is a pain in my effort to convert to V3. So you have guess it my question is: Is this a bug or an intended behavior? Marco Output from version 2.2.9 cfagent -v : : Interface 1: lan2:4 Interface 2: lan2 Interface 3: lan5:1 Interface 4: lan1 Interface 5: lan0 Interface 6: lo0 Interface 7: lan5:3 Interface 8: lan2:1 Interface 9: lan5:2 Interface 10: lan2:3 Interface 11: lan5 Interface 12: lan2:2 Interface 13: lan4 Trying to locate my IPv6 address : : Output from version 3.0.2 cf-promises -v : : cf3 Interface 1: lan2:4 cf3 Interface 2: lan2 cf3 Adding alias name1.. cf3 Interface 3: lan5:1 cf3 Adding alias name2.domain.. cf3 Interface 4: lan1 cf3 !! Cannot discover hardware IP, using DNS value cf3 Trying to locate my IPv6 address : :
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine