Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

sync external custom facts

$
0
0
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](https://docs.puppetlabs.com/facter/3.0/custom_facts.html#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 `//facts.d/` ? Thanks in advance for your time on this.

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>