You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sample fix #7 properly marks inserted devices as physical type and rest as virtual. Subtypes not properly marked and it doesn't update types properly but those are preexisting issues.
Added another fix for virtual subtypes being wrong too. Salt puts the node['virtual'] value as type of virtual hosts (e.g. KVM/VMware/Hyper-v) but they can but not always have subtypes (chroot/docker/jail etc.). This script doesn't account for the value in node['virtual'] being the type of virtual host but it does now in #7. If there is a virtual_subtype I defined that as the virtual type for device42 instead.
The line on
salt_to_device42_sync/saltexplore.py
Line 133 in fc9d896
Given the above, a potential solution is to just check if virtual doesn't have physical as value.
NOTE: Are there any unit tests done with this or provided with this?
The text was updated successfully, but these errors were encountered: