Puppet: Pass variables from Puppet agent to master?

304 views Asked by At

I'm trying to configure a selection of servers using a Puppet agent/master configuration.

My problem is this will include configuring an Apache virtual host for each server, as such I'd like to use the agent's unique hostname within the configuration file which is downloaded from the master.

Is there a way to pass "variables" from the Puppet agent to the Puppet master, or alternatively, is there a way for configurations to "inherit" each other so that I can write a specific custom virtual host configuration for each host, but otherwise all other directives are the same between hosts?

0

There are 0 answers