As a result of an audit (see parent task) I've noticed some discrepancies between the data in Netbox and that in PuppetDB for the cloudnet hosts. If running again the PuppetDB import script it would update the VLAN allocation for one interface per-host.
The affected hosts are:
cloudnet1003 cloudnet1004 cloudnet2002-dev cloudnet2004-dev
And the related interfaces (switch side) are;
asw2-b7-eqiad: updating vlans for interface xe-7/0/19 asw2-b4-eqiad: updating vlans for interface xe-4/0/46 asw-b5-codfw: updating vlans for interface ge-5/0/42 asw-b1-codfw: updating vlans for interface ge-1/0/27
If the changes are correct (i.e. PuppetDB is reporting correctly and Netbox is out of date), to fix the Netbox side is sufficient to run https://netbox.wikimedia.org/extras/scripts/interface_automation.ImportPuppetDB/ with the affected hosts as input:
cloudnet1003 cloudnet1004 cloudnet2002-dev cloudnet2004-dev
and then check with Homer that there are no pending changes on the switches.