<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Templates on cd ~</title><link>https://www.rottenbytes.info/tags/templates/</link><description>Recent content in Templates on cd ~</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 27 Jan 2010 22:17:31 +0000</lastBuildDate><atom:link href="https://www.rottenbytes.info/tags/templates/index.xml" rel="self" type="application/rss+xml"/><item><title>Put your ruby in my ERB</title><link>https://www.rottenbytes.info/2010/01/27/put-your-ruby-in-my-erb/</link><pubDate>Wed, 27 Jan 2010 22:17:31 +0000</pubDate><guid>https://www.rottenbytes.info/2010/01/27/put-your-ruby-in-my-erb/</guid><description>&lt;p&gt;&lt;img title="kermit" src="../wp-content/uploads/2009/01/kermit.jpg" alt="" width="108" height="127" /&gt;Today I started installing a reverse proxy at $WORK. I choose to follow &lt;a href="http://www.cmdln.org/2009/07/12/transparent_dynamic-reverse-proxy-with-nginx/"&gt;this way&lt;/a&gt;, and all my DNS data is stored in my CMDB. Once again, the solution came from #puppet ! You can embed some “pure” ruby code in ERB templates. And, yes, you can query your database !&lt;/p&gt;</description></item></channel></rss>