sync external custom facts
This is my scenario
SERVER: CentOS 7.1 - puppet server v2.1.1 or puppet version 4.2.2
AGENT: CentOS 6.5 - puppet agent v1.2.4 or puppet version 4.2.2
I have created a yaml (structured data facts) file on these locations on the puppet server, which is working fine on server
root@puppet:~# ls -l /opt/puppetlabs/puppet/cache/lib/facter/box32.test.com.yaml /opt/puppetlabs/puppet/cache/facts.d/box32.test.com.yaml -rw-r--r-- 1 root root 297 Oct 12 03:20 /opt/puppetlabs/puppet/cache/facts.d/box32.test.com.yaml -rw-r--r-- 1 root root 297 Oct 12 13:58 /opt/puppetlabs/puppet/cache/lib/facter/box32.test.com.yaml root@puppet:~# root@puppet:~# facter -p box32.interfaces_ipv4.eth0.bootproto static root@puppet:~#
But this fact is not being sync across my agents.
root@box32:~# facter -p box32.interfaces_ipv4.eth0.bootproto root@box32:~#
Is the only way to sync custom facts is to create a module and store a fact
Thanks in advance for your time on this.