only set repo attrs relavent to a node's platform.
simplify logic for supported/unsupported OSes