Thank you for your answer!
I chose the following solution:
# add the IPs of the workers in a dedicated array
$worker = [ '123.456.678.900', '123.456.678.901' ]
# give the apache config class this array
puppet-apache-tomcat::cfg { "tc6_foobar":
vhostname => 'test-foobar6',
worker => $worker,
On Mar 22, 10:15 am, Andreas Paul wrote:
> Is there a way to look up which nodes share that specific module or class?
No.
> # manifests/nodes.pp
> node 'serverA', 'serverB' {
> include puppet-tomcat::tomcatA
>
> }
>
> I need to access variables from both servers. E.g.
You need inform