How to lookup for other puppet nodes dynamically using module name etc.?
Hi, I am quite new to Puppet though I know chef well. I want to setup a webserver load balancer on multiple nodes. For this I need to collect info on node A(webserver) about other nodes say B, C and D(tomcat clients) where module tomcat has already been executed.
Can I have lookup inside my manifest about other nodes via module name?
I don't want to use Hiera because It doesn't look like a dynamic lookup. I just don't wanna put data into some yaml files everytime after code execution. Please help.