Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to keep data out when calling a parameterized class multiple times?

I've got an apache webserver I'm trying to configure within puppet. It will have 2 different vhosts configured, but I'd really like to keep the parameters out of the node definition. While the vhost isn't a huge deal, I'm also dealing with multiple balancer targets that do change rather often. I'd rather modify that data within hiera, rather than modifying the node definition every time.

How could I accomplish this, extracting the data and putting within hiera, but keeping those parameters seperate?