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


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: .

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

An exec SSH would be the easiest however that would require another account to be made. I was hoping to make use of existing puppet funtionaliy or hack together some puppet functionality to allow for data collection from a client to the master.

annihil8ted gravatar imageannihil8ted ( 2017-12-05 09:24:05 -0600 )edit