Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

How do you reconcile puppetlabs-haproxy and consul-template?

$
0
0
I am using puppetlabs-haproxy and need to use consul-template. As you know, puppetlabs-haproxy can create the configuration for you. However, I also need consul-template to change that configuration. How do you reconcile them? I don't want to completely unmanage from puppet the haproxy configuration because if I have something new, it's fill-in-the-blanks easy in the manifest for frontends -- including ports (I wrote a function that generates a port based on the hash of the service name -- so it's really easy). In order for consul-template to work, I need to completely unmanage haproxy.cfg from puppet which means defining new frontends lose their fill-in-the-blanks ease. Thanks for your help in advance.

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>