Assign Manifest Module based on Server Role
I just finished completing the tutorial and read through the documentation of setting up manifests/classes/modules and boy is this exciting!!! I've configured a MySQL module and Apache Module. Now let's say I have the puppet-agent running on two servers, Server A (apache) & Server B (mysql). How could I have the puppet agent on each machine know which module to grab? Is this possible to do or would I just have to apply both modules?