<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tapdancing Goats &#187; debian</title>
	<atom:link href="http://www.tapdancinggoats.com/tag/debian/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tapdancinggoats.com</link>
	<description>A parfait of physics, Linux, LaTeX, and coding tips large and small.</description>
	<lastBuildDate>Wed, 25 Jan 2012 03:14:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Make your Linux servers dance with Puppet</title>
		<link>http://www.tapdancinggoats.com/make-your-servers-dance-with-puppet.htm</link>
		<comments>http://www.tapdancinggoats.com/make-your-servers-dance-with-puppet.htm#comments</comments>
		<pubDate>Wed, 17 Feb 2010 22:12:45 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OSS]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[puppet]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.tapdancinggoats.com/?p=444</guid>
		<description><![CDATA[A quick introduction to Puppet, a system for replicating configurations to many Linux servers.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/quitepeculiar/3946841381/"><img src="http://www.tapdancinggoats.com/wp-content/uploads/2010/02/puppet.jpg" alt="" title="Marionette" width="160" height="240" class="alignright size-full wp-image-448" /></a><a href="http://reductivelabs.com/trac/puppet/" title="Puppet">Puppet</a> is a system for replicating configurations to many servers, and it makes managing a Linux<sup id="fnref:2"><a href="#fn:2" rel="footnote">1</a></sup> server farm ridiculously easy. One server runs a master process, while the others run a client which connects to the master<sup id="fnref:1"><a href="#fn:1" rel="footnote">2</a></sup> to get the correct configuration. Clients are identified by hostname, so if your servers don&#8217;t have resolvable names you&#8217;ll need to put them in the hosts file on the master.</p>

<p>Puppet uses a declarative syntax built on top of ruby for defining rules. The documentation is mediocre at best, so you may struggle at first learning how to write the rules. Just read through the example recipes and test it out with a non-production server. The easiest way I found to test a rule is to run</p>

<pre><code>sudo puppetd --test
</code></pre>

<p>on the server that should be getting the configuration. It will tell you there if there are any errors.</p>

<p>The version of puppet in Ubuntu 9.10 doesn&#8217;t support defining node names with regular expressions, so you might want to grab the <a href="http://packages.debian.org/sid/puppet" title="Puppet package">version in Debian sid</a>.</p>

<p>I&#8217;m still trying to figure out the best way to split up modules and organize my node definitions, so if you&#8217;ve used Puppet leave a comment and let me know what you think.</p>

<div class="footnotes">
<hr />
<ol>

<li id="fn:2">
<p>The <a href="http://www.reductivelabs.com/trac/puppet/wiki/DownloadingPuppet" title="Download Puppet">website</a> also has packages for BSD and MacOS, but I can&#8217;t vouch for them.&#160;<a href="#fnref:2" rev="footnote">&#8617;</a></p>
</li>

<li id="fn:1">
<p>By default the clients connect to a host named puppet, so you should either make an DNS entry for your master, or define the name puppet in your clients&#8217; hosts files.&#160;<a href="#fnref:1" rev="footnote">&#8617;</a></p>
</li>

</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.tapdancinggoats.com/make-your-servers-dance-with-puppet.htm/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

