Access Remote Facts

asked 2017-11-14 12:27:36 -0600

annihil8ted gravatar image

Because puppet doesn't allow client to master transferring of files, I was planning to use custom facts to get some client node files. I'm wondering how I can access facts on a remote client from the puppet master.

edit retag flag offensive close merge delete

Comments

Err, ssh? You ever heard of ssh(1), haven't you? … Hold on, what do you wanna do? Where do you need to access the fact? In a manifest you just write $factname. Can't'ya just mount your central file server on the master machine, can ya? You don't really need to transfer _whole_ files, do you?

Kai Burghardt gravatar imageKai Burghardt ( 2017-11-15 13:23:50 -0600 )edit

I'm not sure, but maybe you can export your file: https://puppet.com/docs/puppet/latest/lang_exported.html .

Kai Burghardt gravatar imageKai Burghardt ( 2017-11-15 13:31:09 -0600 )edit