{"repo":"WeAreFarmGeek/diplomat","free":true,"listed":false,"github":"https://github.com/WeAreFarmGeek/diplomat","clone":"git clone https://github.com/WeAreFarmGeek/diplomat.git","description":"A HTTP Ruby API for Consul","language":"Ruby","stars":372,"topics":["consul","ruby","diplomat","consul-cluster","rails","cluster","lock","data-center","api","api-client"],"license":"BSD-3-Clause","category":"api-integrations-sdks","readme_excerpt":"Diplomat A HTTP Ruby API for Consul FAQ What's Diplomat for? Diplomat allows any ruby application to interact with Consul's distributed key value store, and also receive information about services currently available in the Consul cluster. Does it work in rails? Yup! In fact, we're using it in all of our rails production apps instead of any previous case where it'd be right to use environment variables according to 12Factor configuration principals. This gives us the ability to scale up without making any changes to the actual project codebase, and to move applications around the cluster with ease. Here's what a production database.yml file might look like: Why would I use Consul over ZooKeeper, Doozerd, etcd, Nagios, Sensu, SmartStack, SkyDNS, Chef, Puppet, Ansible, etc? Read up what makes Consul different here How do I install Consul? See here. I managed to roll it out on my production machines with the help of Ansible in one working day. Which versions of Ruby does Diplomat support? Where did my ruby 1.9 compatibility go? Check out GitHub Actions to see which versions of ruby we currently test when we're making builds. We've dropped ruby 1.9 support. You can still depend on Diplomat by directly using the ruby-1.9-compatible branch on github, although be advised it's not actively maintained anymore. ERB templating It is possible to inject diplomat data into .erb files (such as in chef), but you could also have a look at consul-templaterb that is highly optimized for ERB tem","default_branch":null,"files":null,"tree":[],"storefront":"/r/WeAreFarmGeek","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/WeAreFarmGeek/diplomat/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}