getting IP addresses of all servers with a particular role in a manifest -
Here's a question. We've a group of servers (5 or so) which provide a service to most of our other servers (hundreds of them!). This small group of servers will always have a the same role.
We create firewall rules on the rest of the estate and these servers need to connect in to the small group of servers. Now my question is, when a new server is added with the particular role, how can I get the firewall rules on all the other servers to automatically update?
Would it be something like a custom fact? Would anyone be able to provide some pointers how I'd achieve it?