I would like execute below simple command in all of my nodes which returns me whether symbolic links are available using puppet facter.
'ls -l | grep lrw | grep data'
How to run this command and collect the results from one client ?
I do not have puppet master and only have puppet node installed in all my client machines.
You can simple use pdsh to run remotely the command you want on any node you want, I don’t think you have to mes with any puppet stuff to accomplish you’re task
Check it out this to get an idea how it works :)