Is there a possibility of deploying custom facts based on the hostname/ipaddress of the machine. Suppose i have 2 custom fact files,
machine1.rb #contains facts specific to machine1
machine2.rb #contains facts specific to machine2
Now my requirement is that depending on the hostname or the ip address, the corresponding custom facts file should be copied to the corresponding machine. I tried googling but didnt help. Please let me know.