<?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>Cognizant Transmutaion &#187; PoolParty</title>
	<atom:link href="http://blog.ibd.com/tag/poolparty/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ibd.com</link>
	<description>Internet Bandwidth Development: Composting the Internet for over Two Decades</description>
	<lastBuildDate>Fri, 18 Jun 2010 02:00:26 +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>Installing PoolParty on Mac OS X and Ubuntu</title>
		<link>http://blog.ibd.com/scalable-deployment/installing-poolparty-on-mac-os-x-and-ubuntu/</link>
		<comments>http://blog.ibd.com/scalable-deployment/installing-poolparty-on-mac-os-x-and-ubuntu/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 01:57:44 +0000</pubDate>
		<dc:creator>Robert J Berger</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Scalable Deployment]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[PoolParty]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.ibd.com/?p=129</guid>
		<description><![CDATA[<p>In my search for the ultimate open source tool for deploying our service onto the &#8220;Clouds&#8221; I am now trying the new PoolParty. (Though I&#8217;m finding that the github wiki for PoolParty is a better reference).</p>
<p>Its got what seems to be a nice clean Ruby based Domain Specific Language (DSL) and set of unix shell commands [...]]]></description>
			<content:encoded><![CDATA[<p>In my search for the ultimate open source tool for deploying our service onto the &#8220;Clouds&#8221; I am now trying the new <a href="http://poolpartyrb.com/" target="_blank">PoolParty</a>. (Though I&#8217;m finding that the <a href="http://wiki.github.com/auser/poolparty" target="_blank">github wiki for PoolParty</a> is a better reference).</p>
<p>Its got what seems to be a nice clean Ruby based Domain Specific Language (DSL) and set of unix shell commands for automating the deployment and management of scalable apps in the cloud.  I&#8217;ll have to play with it to see how real it is. But so far it at least seems easier than raw puppet.</p>
<p>This post will mainly document how I installed PoolParty and got it to basically work. Its still a pretty early release so there were a few issues. Thanks to ausser and fairchild_ on the <a href="irc://irc.freenode.net/poolpartyrb">#PoolParty IRC Channel</a> for some help.</p>
<h2>Some Prerequisites</h2>
<p>This is not an exhaustive list, but I found that the following gems needed to be installed:</p>
<ul>
<li>echoe</li>
<li>newgem</li>
<li>rake</li>
<li>activesupport</li>
<li>hoe</li>
<li>logging</li>
<li>ruby2ruby</li>
</ul>
<h2>Maybe Not Install from Gem</h2>
<p>You can theoretically install from git gems:</p>
<pre>gem install --source http://gems.github.com auser-poolparty</pre>
<p>But I found that the gem that was there at the instant I was trying had some problems. In particular it included a file (<em>b</em><em>in/server-query-agent</em>) in the gemspec that wasn&#8217;t in the actual gem so the gem install failed.</p>
<h2>Install from Git</h2>
<p>So I went with using the git repository. Plus I figure I&#8217;m going to be living on the edge with this for a while so might as well be prepared.</p>
<p>So instead to get it from git cd to someplace you want to install the source tree to PoolParty and:</p>
<pre>git clone git://github.com/auser/poolparty.git</pre>
<p>You can then try the following which will clean and rebuild the gem and then install it locally:</p>
<pre>rake local_deploy</pre>
<p>If you want to just build the gem and not install it locally:</p>
<pre>rake gem</pre>
<p>In ether case there will also be a copy of the gem in <em>pkg/poolparty-0.2.94.gem</em><br />
(Where the 0.2.94 may be different based on the version at the time of the git clone)</p>
<h3>Issue while installing from Git</h3>
<p>I had a similar problem with the git install as I did with the gem. It looked like the Manifest.txt and poolparty.gemspec also had bin/server-query-agent in them and it wasn&#8217;t in the distro. I asked on the IRC channel and was told that server-query-agent shouldn&#8217;t be there. The suggestion was to remove Manifest.txt (and I presumed poolparty.gemspec) and rebuild things using rake.</p>
<p>So I did remove the two files and eventually did:</p>
<pre>rake gemspec</pre>
<p>Then edited the generated Manifest.txt and poolparty.gemspec to remove all references to dirs / files that start with .git since the rake process just included them as part of what should be included.</p>
<p>Then I ran:</p>
<pre>rake local_deploy</pre>
<p>as described earlier.</p>
<p>I happened to build this all on the Mac (Leopard) and then just copied the gem to an Ubuntu 8.10 system and did a gem install:</p>
<pre><span style="font-family: Georgia; line-height: 19px; white-space: normal;">s</span>udo gem instal  poolparty-0.2.94.gem</pre>
<p>And it installed fine, recursively installing all gem dependencies.</p>
<h2>Conclusion</h2>
<p>Next post will be on using PoolParty to get something going on Amazon EC2.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://blog.ibd.com/scalable-deployment/installing-poolparty-on-mac-os-x-and-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
