Try the structured facts. $facts['networking']['network'] is probably somewhat indeterministic, but if your interface names are predictable, then $facts['networking']['interfaces']['ens192']['network'] (or 'eth0' or whatever) could conceivably be the value you need.
Having tried to fight with this before, however, I went with an external fact. I don't need the network so much as I need the datacenter and I just create the file `/etc/facter/facts.d/datacenter` in my templates or during provisioning, so I never need to deal with some wacky new network that isn't correlated to a datacenter until I touch some code again. Something like that might be helpful even if you can get the structured fact right, as the provisioning process is often a better spot to insert such values.