This should work now in r9266.
adam. On 2018-06-13 11:31:46, Adam Armstrong adama@memetic.org wrote: Hi Robert,
These were never official attributes, but I can add them, then the JS will pick them up.
Let me go fix it :D
adam. On 2018-06-13 10:56:38, Robert Williams robert@custodiandc.com wrote: Hi all, It may have been there for some time (as this is not frequently modified) but I’ve found that the group membership editor (Devices->Groups) doesn’t seem to recognise historic rulesets which we have for some of our groups. Image below: In this example, the group matches servers with specific combinations of Distro and Version. Interestingly, the group actually continues to work just fine! The only issue is that I cannot make any changes to it with the graphical editor. I’ve had to update it in the DB (specifically changing one of the version numbers) for Debian, and it continues to show the desired results once the group is rebuilt.
From what I can see, the ‘device.distro’ and ‘device.distro_ver’ which we are using, are no longer valid items under ‘device’ in the GUI.
Also, I don’t “think” that any of the options there are an appropriate equivalent for this (Operating System is different I believe; and there is no numeric ‘version’ at all). This I presume is why the editor doesn’t know how to handle these existing rules. Is this a quick fix, or the entrance to a rabbit hole? Cheers! Robert Williams Custodian Data Centres https://www.CustodianDC.com [https://www.CustodianDC.com]