Get IP address of node 1 from node 2

asked 2015-05-01 08:27:41 -0500

oliverkinne gravatar image

I am banging my head against a brick wall. I probably don't see the wood for the trees. <add phrase="" of="" choice="" here="">

I am trying to set up two nodes in Puppet. Node 1 is a MySQL server, node 2 an Apache web server. Now I want to let node 2 know what the IP address of node 1 is, so that node 2 can access the databases held on node 1.

I have looked at all sorts of different things - PuppetDB, exported facts, etc. etc. - but I just can't get it to work.

Does anyone have a working example in Puppet they care to share please? Maybe I'm barking up the completely wrong tree.

Thank you in advance, Oliver

edit retag flag offensive close merge delete