Understanding custom facts
I am getting bit confused about the custom facts.
I have 2 systems at different locations and I have created a custom fact to be assigned to one of them in a module which is assigned to one system.
Example: I have a system in Boston and London.
I have assigned a module to system in Boston and added the custom fact in that module.
After the puppet agent run, i see the fact present in Both the systems.
Is it by design ?
In that case, I need to access an exiting fact which is different on both, like a Node name prefix and then assign the fact accordingly ?