Closed sarcasticadmin closed 3 months ago
Ya no worries, i should have caught this when i split the files originally
Ya no worries, i should have caught this when i split the files originally
I realized what the issue was while sleeping. I was only spot checking each individual file for validity and not making sure the line count across the two matched. Since that is an OK state, then yup this all makes sense now. Nice fix. I like running inventory pkg as part of CI as a sanity check, this is similar to the step in CI that piped the output of inventory through jq, back when it only spit out json.
I now have a concern about duplicate IPs (or names or mac addresses) existing in a data file, which would still produce a valid inventory pkg run but consumer services would then fail downstream. For example trying to give Kea a config that has multiple DHCP reservations for the same IP and/or mac. Will think about it some more and open an issue if it still makes sense when I get to the NOC.
Description of PR
related to: https://github.com/socallinuxexpo/scale-network/pull/698
Currently failing off master when aps are all defined in
apuse.csv
:Previous Behavior
master
New Behavior
Tests