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

asked 2014-07-03 11:42:45 -0600

mlanghor gravatar image

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?

edit retag flag offensive close merge delete