<?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>Automation Inc. &#187; ruby</title>
	<atom:link href="http://blog.frameos.org/tag/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.frameos.org</link>
	<description>Finding the perfect blend between fun and money</description>
	<lastBuildDate>Tue, 03 Jan 2012 19:20:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ruby ESX 0.3 released</title>
		<link>http://blog.frameos.org/2012/01/03/ruby-esx-0-3-released/</link>
		<comments>http://blog.frameos.org/2012/01/03/ruby-esx-0-3-released/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 19:13:12 +0000</pubDate>
		<dc:creator>rubiojr</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://blog.frameos.org/?p=255</guid>
		<description><![CDATA[New patch from Salvador Girones (multiple NICs, custom VM Network), better test coverage and a some sugar. CHANGELOG Better test coverage added poweron-vm, poweroff-vm and destroy-vm subcommands to &#8216;esx&#8217; script Added custom network support to the &#8216;esx&#8217; script (&#8211;vm-network) Host.create_vm now supports creating a VM with multiple NICs Minor README tweaks New &#8216;esx&#8217; sub-commands Powering [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.frameos.org%2F2012%2F01%2F03%2Fruby-esx-0-3-released%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.frameos.org%2F2012%2F01%2F03%2Fruby-esx-0-3-released%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div>New patch from Salvador Girones (multiple NICs, custom VM Network), better test coverage and a some sugar.

<h1>CHANGELOG</h1>

<ul>
<li>Better test coverage</li>
<li>added poweron-vm, poweroff-vm and destroy-vm subcommands to &#8216;esx&#8217; script</li>
<li>Added custom network support to the &#8216;esx&#8217; script (&#8211;vm-network)</li>
<li>Host.create_vm now supports creating a VM with multiple NICs</li>
<li>Minor README tweaks</li>
</ul>

<h1>New &#8216;esx&#8217; sub-commands</h1>

<h2>Powering on/off existing VMs</h2>

To power on an existing VM:

<pre><code>esx poweron-vm --user root --password secret --vm-name my-foo-vm my-esx-host
</code></pre>

To power it off:

<pre><code>esx poweroff-vm --user root --password secret --vm-name my-foo-vm my-esx-host
</code></pre>

<h2>Creating a new VM with a custom Network/MAC address</h2>

<pre><code>esx create-vm --user root --password secret --name my-foo-vm --disk-file tc.vmdk --poweron --vm-network 'foobar' --mac-address 00:01:02:03:04:05 esx-test-host
</code></pre>

This will create a VM with one NIC attached to the network &#8216;foobar&#8217; and a MAC address &#8217;00:01:02:03:04:05&#8242;

<h2>Destroying and existing VM (disk files included)</h2>

<pre><code>esx destroy-vm --user root --password secret --vm-name my-foo-vm esx-test-host
</code></pre>

<h1>Related</h1>

<a href="http://github.com/rubiojr/esx">http://github.com/rubiojr/esx</a>
]]></content:encoded>
			<wfw:commentRss>http://blog.frameos.org/2012/01/03/ruby-esx-0-3-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automation FTW: The Boxgrinder + esx + knife-esx combo</title>
		<link>http://blog.frameos.org/2011/11/16/automation-ftw-the-boxgrinder-esx-gem-knife-esx-combo/</link>
		<comments>http://blog.frameos.org/2011/11/16/automation-ftw-the-boxgrinder-esx-gem-knife-esx-combo/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 22:09:37 +0000</pubDate>
		<dc:creator>rubiojr</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[boxgrinder]]></category>
		<category><![CDATA[chef]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[knife]]></category>
		<category><![CDATA[opscode]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://blog.frameos.org/?p=249</guid>
		<description><![CDATA[Ohai! Figured it was a good time to write a blog post and demo some of the building blocks that may help you to automate the stuff you have to deal with everyday as an infrastructure automation dude so there we go. I will demonstrate how to take advantage of Boxgrinder to create virtual appliances [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.frameos.org%2F2011%2F11%2F16%2Fautomation-ftw-the-boxgrinder-esx-gem-knife-esx-combo%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.frameos.org%2F2011%2F11%2F16%2Fautomation-ftw-the-boxgrinder-esx-gem-knife-esx-combo%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div>Ohai!

Figured it was a good time to write a blog post and demo some of the building blocks that may help you to automate the stuff you have to deal with everyday as an infrastructure automation dude so there we go.

I will demonstrate how to take advantage of Boxgrinder to create virtual appliances and provision them using the VMWare ESX/ESXi hypervisor and Opscode Chef, plus some glue that I created for the occasion. I&#8217;d love to use an open source hypervisor such as KVM or Xen Community but some small bits are missing in my toolbox (they&#8217;ll be ready soon though :).

To make the tutorial short and palatable, I&#8217;ll assume you already know a little bit about Opscode Chef, VMWare ESXi and Ubuntu.

<strong>This HOWTO will guide you to:</strong>

<ul>
<li>Spin up a Boxgrinder meta appliance in ESXi using the ruby esx gem.</li>
<li>Build a Ubuntu virtual appliance from scratch using the Boxgrinder meta appliance.</li>
<li>Use the Ubuntu appliance generated to create a new virtual machine in VMWare ESXi.</li>
<li>Bootstrap the Opscode Chef client in that VM, adding it to your Hosted/Community Chef Server.</li>
</ul>

<strong>Pre-requisites</strong>

For this tutorial you will need:

<ul>
<li>An ESXi hypervisor with SSH enabled and root access.</li>
<li>An Opscode Hosted Chef Server account or a Community Chef Server available somewhere.</li>
<li>Opscode chef knife configured and working.</li>
<li>Ubuntu installed in your laptop/server. Most of the stuff will also work in Fedora or even MacOS X  too.</li>
</ul>

<h1>Step 1. Install esx and knife-esx rubygems</h1>

Some of the gems that will be pulled have native extensions that require headers, compiler, make etc. We also need ruby and rubygems. Let&#8217;s install them:

<pre><code>$ sudo apt-get install ruby rubygems ruby-dev libxml2-dev \
            libxslt-dev build-essential git
</code></pre>

Now we are ready to install the gems:

<pre><code>$ sudo gem install knife-esx
</code></pre>

This will pull chef and the esx gem too.

<h1>Step 2. Spin up a Boxgrinder meta appliance</h1>

I&#8217;ve got a pre-built Ubuntu Boxgrinder meta-appliance that you can download from <a href="http://download.frameos.org/appliances/boxgrinder-meta-ubuntu-oneiric-amd64.vmdk">here</a>.

<pre><code>$ wget http://download.frameos.org/appliances/boxgrinder-meta-ubuntu-oneiric-amd64.vmdk
</code></pre>

Let&#8217;s create a virtual machine in ESX using the Boxgrinder meta-appliance VMDK you downloaded and the esx command provided by the esx rubygem.

<pre><code>$ esx create-vm --user root --password secret \
                --name boxgrinder-meta-vm  \
                --disk-file boxgrinder-meta-ubuntu-oneiric-amd64.vmdk \
                --datastore datastore1 \
                --memory 1024 \
                --poweron \
                  esx-test-host
</code></pre>

(make sure you type the correct password for the root user in your ESX host)

<p>This command will upload the Boxgrinder VMDK to the ESXi server (esx-test-host in my case) datastore1 using SCP. A new VM named boxgrinder-meta-vm is created with one virtual NIC and 1024 MB of RAM. 
After that, the guest is powered on and gets an IP address from a DHCP server (the Boxgrinder meta-appliance NIC is preconfigured to get the IP dynamically, via DHCP) available in our LAN.</p>

VMware tools are installed in the Boxgrinder meta-appliance so we can list the VMs using knife-esx and see the IP address the VM received:

<pre><code>$ knife esx vm list --esx-host esx-test-host \
                    --esx-user root --esx-password secret
WARNING: No knife configuration file found
Connecting to ESX host esx-test-host...
+----------------------------+--------------+-------------+-----------+
| NAME                       | IPADDR       | POWER_STATE | VMW_TOOLS |
+----------------------------+--------------+-------------+-----------+
| ESXi QA1                   |              | poweredOn   | false     |
| ESXi QA2                   |              | poweredOn   | false     |
| boxgrinder-meta-vm         | 10.60.20.201 | poweredOn   | true      |
 +----------------------------+--------------+-------------+-----------+
</code></pre>

<h1>Step 3. Create a Ubuntu appliance with vmware-tools installed</h1>

Login to the Boxgrinder meta-appliance. All the commands below need to be run inside the Boxgrinder meta-appliance.

<pre><code>$ ssh root@my-box-grinder  (root password is boxgrinder)
</code></pre>

Get some appliance definitions from my github repo.

<pre><code>$ git clone http://github.com/rubiojr/boxgrinder-appliances
</code></pre>

We&#8217;ll use a Ubuntu appliance definition to generate a new appliance:

<pre><code>$ cd boxgrinder-appliances/ubuntu-jeos
</code></pre>

Now create the appliance using the boxgrinder-build command:

<pre><code>$ boxgrinder-build -p vmware --platform-config type:personal,thin_disk:true \
                   -l boxgrinder-ubuntu-plugin oneiric-with-vmware-tools.appl
</code></pre>

This appliance definition creates a minimal Ubuntu appliance with openssh-server and vmware-tools installed. The Boxgrinder host is x86_64 so the appliance will be generated for that architecture.

It will take a few minutes to generate the appliance. After the process is complete, you&#8217;ll be able to find the appliance inside the build/ directory in QCOW2 and VMDK formats.

Now back to the laptop where knife-esx and esx gems are installed.

<h1>Step 4. Spin up a VM using the recently created Ubuntu appliance</h1>

Download the ubuntu-oneiric.vmdk file from the Boxgrind meta-appliance using SCP for example.

Let&#8217;s bootstrap it in the ESXi host using knife-esx. First of all, make sure you&#8217;re in your chef-repo directory so knife can read the required configuration. Assuming you have the chef stuff under /home/myuser/chef-repo:

<pre><code>$ cd chef-repo
$ knife esx vm create \
               --template-file ~/.chef/bootstrap/ubuntu11.10-gems.erb \
               --vm-disk /home/rubiojr/tmp/ubuntu-oneiric.vmdk \
               --vm-name ubuntu-oneiric-chef \
               --datastore datastore1 \
               --esx-host esx-test-host \
               --ssh-user ubuntu \
               --ssh-password ubuntu \
               --esx-password temporal
</code></pre>

This is similar to the esx command we used back in step 2, plus some extra stuff to bootstrap the chef client and execute the first chef-client run:

<ol>
<li>The ubuntu-oneiric.vmdk is uploaded to the ESX host (esx-test-host).</li>
<li>A new VM is created using that VMDK (in datastore1) as the VM disk.</li>
<li>The VM is powered on.</li>
<li>knife-esx waits for the VM to get an IP (via DHCP in my case) and uses the ubuntu11.10-gems.erb bootstrap template (which is a typical knife bootstrap template)  to bootstrap (via SSH) the chef client inside the VM.</li>
<li>Finally the chef-client is run to register itself in your chef server.</li>
</ol>

<strong>&#8211;ssh-user</strong> and <strong>&#8211;ssh-password</strong> are the user credentials used when bootsraping chef (the where automatically created for you by Boxgrinder when the appliance was built).

knife-esx accepts a few more parameters to tune the VM memory (default 512MB), add recipes/roles to the bootstrap process, etc. Have a look at the knife-esx Github project to get all the details.

<h1>Links to the relevant stuff</h1>

<ul>
<li>Boxgrinder appliance builder: <a href="http://www.boxgrinder.org">boxgrinder.org</a></li>
<li>The knife-esx gem: <a href="http://github.com/rubiojr/knife-esx">github.com/rubiojr/knife-esx</a></li>
<li>The esx gem: <a href="http://github.com/ruboijr/esx">github.com/rubiojr/esx</a></li>
<li>Opscode Chef documentation: <a href="http://wiki.opscode.org">wiki.opscode.org</a></li>
</ul>

Enjoy!

P.S. The article is <strong>work in progress</strong>. It will be polished in the next couple of days.
]]></content:encoded>
			<wfw:commentRss>http://blog.frameos.org/2011/11/16/automation-ftw-the-boxgrinder-esx-gem-knife-esx-combo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Boxgrinder in RHEL/CentOS 6 distributions</title>
		<link>http://blog.frameos.org/2011/11/11/installing-boxgrinder-in-rhelcentos-6-distributions/</link>
		<comments>http://blog.frameos.org/2011/11/11/installing-boxgrinder-in-rhelcentos-6-distributions/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 15:44:18 +0000</pubDate>
		<dc:creator>rubiojr</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[boxgrinder]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[rbel]]></category>
		<category><![CDATA[rhel]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.frameos.org/?p=248</guid>
		<description><![CDATA[1. Add the RBEL repository rpm -Uvh http://rbel.co/rbel6 2. Install rubygems yum install rubygems parted e2fsprogs ruby-libguestfs \ febootstrap rsync wget util-linux yum-utils \ ruby-devel gcc make libxml2-devel libxslt-devel \ appliance-tools git rpmdevtools createrepo \ guestfish This will pull the required deps. 3. Install boxgrinder and plugins gem install &#8211;no-ri &#8211;no-rdoc boxgrinder-build Done!]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.frameos.org%2F2011%2F11%2F11%2Finstalling-boxgrinder-in-rhelcentos-6-distributions%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.frameos.org%2F2011%2F11%2F11%2Finstalling-boxgrinder-in-rhelcentos-6-distributions%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div><strong>1. Add the RBEL repository</strong>
<pre>
rpm -Uvh http://rbel.co/rbel6
</pre>

<strong>2. Install rubygems</strong>

<pre>
yum install rubygems parted e2fsprogs ruby-libguestfs \
            febootstrap rsync wget util-linux yum-utils \
            ruby-devel gcc make libxml2-devel libxslt-devel \
            appliance-tools git rpmdevtools createrepo \
            guestfish
</pre>

This will pull the required deps.

<strong>3. Install boxgrinder and plugins</strong>

gem install &#8211;no-ri &#8211;no-rdoc boxgrinder-build 

Done!]]></content:encoded>
			<wfw:commentRss>http://blog.frameos.org/2011/11/11/installing-boxgrinder-in-rhelcentos-6-distributions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>RBEL updates: ohai, rubygems, ImageMagick</title>
		<link>http://blog.frameos.org/2011/10/24/rbel-updates-ohai-rubygems-imagemagic/</link>
		<comments>http://blog.frameos.org/2011/10/24/rbel-updates-ohai-rubygems-imagemagic/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 15:10:41 +0000</pubDate>
		<dc:creator>rubiojr</dc:creator>
				<category><![CDATA[chef]]></category>
		<category><![CDATA[FrameOS]]></category>
		<category><![CDATA[opschef]]></category>
		<category><![CDATA[rbel]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.frameos.org/?p=240</guid>
		<description><![CDATA[Some RBEL updates: rubygem-ohai: 0.6.10-1 (updated to the latest upstream version) rubygems: 1.8.10-1 rubygem-chef: 0.10.4-2 (fixes bug when rubygems 1.8.10 is installed) rubygem-chef-expander: 0.10.4-2 (fixes bug when rubygems 1.8.10 is installed) And a newcomer to the RBEL repo, ImageMagick 6.5.4.7 IMPORTANT If you upgrade from rubygems 1.7.2 to rubygems 1.8.10 and have rubygem-chef or rubygem-chef-server [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.frameos.org%2F2011%2F10%2F24%2Frbel-updates-ohai-rubygems-imagemagic%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.frameos.org%2F2011%2F10%2F24%2Frbel-updates-ohai-rubygems-imagemagic%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div>Some RBEL updates:

rubygem-ohai: 0.6.10-1 (updated to the latest upstream version)
rubygems: 1.8.10-1
rubygem-chef: 0.10.4-2 (fixes bug when rubygems 1.8.10 is installed)
rubygem-chef-expander: 0.10.4-2 (fixes bug when rubygems 1.8.10 is installed)

And a newcomer to the RBEL repo, ImageMagick 6.5.4.7

<strong>IMPORTANT</strong>
If you upgrade from rubygems 1.7.2 to rubygems 1.8.10 and have rubygem-chef or rubygem-chef-server installed, update them too to the latest version available.

Enjoy!
]]></content:encoded>
			<wfw:commentRss>http://blog.frameos.org/2011/10/24/rbel-updates-ohai-rubygems-imagemagic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby 1.8.7-p352 now stable for Chef usage (RHEL5/6)</title>
		<link>http://blog.frameos.org/2011/08/16/ruby-1-8-7-p352-now-stable-for-chef-usage-rhel66/</link>
		<comments>http://blog.frameos.org/2011/08/16/ruby-1-8-7-p352-now-stable-for-chef-usage-rhel66/#comments</comments>
		<pubDate>Tue, 16 Aug 2011 10:06:29 +0000</pubDate>
		<dc:creator>rubiojr</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[chef]]></category>
		<category><![CDATA[rbel]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.frameos.org/?p=234</guid>
		<description><![CDATA[Looks like RBEL 1.8.7 ruby packages (ruby-1.8.7-p352-4) for both RHEL5/RHEL6 are finally stable for Opscode Chef usage. The package sources can be found here: https://github.com/frameos/ruby-rpm Some background info: http://tickets.opscode.com/browse/CHEF-2413 If you find any issues with them, please report. Thanks!]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.frameos.org%2F2011%2F08%2F16%2Fruby-1-8-7-p352-now-stable-for-chef-usage-rhel66%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.frameos.org%2F2011%2F08%2F16%2Fruby-1-8-7-p352-now-stable-for-chef-usage-rhel66%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div>Looks like RBEL 1.8.7 ruby packages (ruby-1.8.7-p352-4) for both RHEL5/RHEL6 are finally stable for Opscode Chef usage.

The package sources can be found here:

https://github.com/frameos/ruby-rpm

Some background info:

http://tickets.opscode.com/browse/CHEF-2413

If you find any issues with them, please report.

Thanks!]]></content:encoded>
			<wfw:commentRss>http://blog.frameos.org/2011/08/16/ruby-1-8-7-p352-now-stable-for-chef-usage-rhel66/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stopping and deleting VirtualBox VMs</title>
		<link>http://blog.frameos.org/2011/06/20/stopping-and-deleting-virtualbox-vms/</link>
		<comments>http://blog.frameos.org/2011/06/20/stopping-and-deleting-virtualbox-vms/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 10:23:05 +0000</pubDate>
		<dc:creator>rubiojr</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://blog.frameos.org/?p=222</guid>
		<description><![CDATA[A small script useful to clean many running/stopped VMs in VirtualBox: The script uses the VBoxManage command line interface to VirtualBox.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.frameos.org%2F2011%2F06%2F20%2Fstopping-and-deleting-virtualbox-vms%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.frameos.org%2F2011%2F06%2F20%2Fstopping-and-deleting-virtualbox-vms%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div>A small script useful to clean many running/stopped VMs in VirtualBox:

<script src="https://gist.github.com/1035404.js?file=clean_vbox_vms.rb"></script>

The script uses the VBoxManage command line interface to VirtualBox.]]></content:encoded>
			<wfw:commentRss>http://blog.frameos.org/2011/06/20/stopping-and-deleting-virtualbox-vms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing rbel.frameos.org</title>
		<link>http://blog.frameos.org/2011/04/14/announcing-rbel-frameos-org/</link>
		<comments>http://blog.frameos.org/2011/04/14/announcing-rbel-frameos-org/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 16:49:02 +0000</pubDate>
		<dc:creator>rubiojr</dc:creator>
				<category><![CDATA[FrameOS]]></category>
		<category><![CDATA[chef]]></category>
		<category><![CDATA[frameos]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[rbel]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.frameos.org/?p=206</guid>
		<description><![CDATA[RBEL is a RHEL yum repository with a strong focus in ruby and chef packages for both RHEL5 and RHEL6 derived linux distributions. Goal 1. Publish the packages available in FrameOS Linux so they can be easily installed in other RHEL distributions (CentOS, ScientificLinux, etc). 2. Isolate FrameOS specific packages so they can be easily [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.frameos.org%2F2011%2F04%2F14%2Fannouncing-rbel-frameos-org%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.frameos.org%2F2011%2F04%2F14%2Fannouncing-rbel-frameos-org%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div>RBEL is a <strong>RHEL</strong> yum repository with a strong focus in ruby and chef packages for both RHEL5 and RHEL6 derived linux distributions.

<strong>Goal</strong>

1. Publish the packages available in FrameOS Linux so they can be easily installed in other RHEL distributions (CentOS, ScientificLinux, etc).

2. Isolate FrameOS specific packages so they can be easily maintained and updated.

<strong>Which packages are available right now?
</strong>

* Ruby Enterprise Edition
* JRuby 1.6
* Chef stable (0.9.X)
* Chef beta (0.10.X, in testing right now)
* NGINX HTTP server
* Google V8
* Node.js

and all the dependencies required to install those packages.

<strong>
How do I use it?
</strong>

Head to <a href="http://rbel.frameos.org">http://rbel.frameos.org</a>. The documentation is there.

There is a stable and a testing repository. The stable repos are rbel5-stable (for RHEL5 distributions) and rbel6-stable (for RHEL6 distributions). The testing repos are rbel5-testing and rbel6-testing.
Testing repo is disabled by default, so you&#8217;ll need to enable it using the &#8211;enablerepo flag in YUM.

<strong>Why don&#8217;t you contribute those packages back to EPEL, RPMForge, etc?</strong>

I&#8217;d love to at some point, if time permits.
One of the reasons behind having your own repo is agility. Everything is faster when you control you own stuff. Being packages closely tied to FrameOS Linux, control and agility is a must for the project.

Enjoy! 

 ]]></content:encoded>
			<wfw:commentRss>http://blog.frameos.org/2011/04/14/announcing-rbel-frameos-org/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>FrameOS 6: It&#8217;s finally here</title>
		<link>http://blog.frameos.org/2011/02/18/frameos-6-its-finally-here/</link>
		<comments>http://blog.frameos.org/2011/02/18/frameos-6-its-finally-here/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 15:40:23 +0000</pubDate>
		<dc:creator>rubiojr</dc:creator>
				<category><![CDATA[FrameOS]]></category>
		<category><![CDATA[chef]]></category>
		<category><![CDATA[el6]]></category>
		<category><![CDATA[frameos]]></category>
		<category><![CDATA[rhel6]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.frameos.org/?p=201</guid>
		<description><![CDATA[A long time coming, but FrameOS Linux 6 (RHEL6 based) is finally here: * Derived from RHEL6 sources * Ruby Enterprise 2010.2 (default ruby) * Chef 0.9.12 * Ruby 1.9 (not installed by default, available in the core repo) * JRuby 1.5.6 (not installed by default, available in the core repo) * RubyGems 1.3.7 Short [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.frameos.org%2F2011%2F02%2F18%2Fframeos-6-its-finally-here%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.frameos.org%2F2011%2F02%2F18%2Fframeos-6-its-finally-here%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div>A long time coming, but FrameOS Linux 6 (RHEL6 based) is finally here:

* Derived from RHEL6 sources
* Ruby Enterprise 2010.2 (default ruby)
* Chef 0.9.12
* Ruby 1.9 (not installed by default, available in the core repo)
* JRuby 1.5.6 (not installed by default, available in the core repo)
* RubyGems 1.3.7

Short  changelog, lots of work :). Great things coming to the FrameOS installer (Anaconda) next month.

As usual, many thanks to the RHEL, CentOS, Scientific and Opscode folks. Their work is greatly appreciated and truly inspiring.

Download from:

<a href="http://www.frameos.org">http://www.frameos.org</a>

Enjoy!
]]></content:encoded>
			<wfw:commentRss>http://blog.frameos.org/2011/02/18/frameos-6-its-finally-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FrameOS Linux 6 Preview Released</title>
		<link>http://blog.frameos.org/2010/12/21/frameos-linux-6-preview-released/</link>
		<comments>http://blog.frameos.org/2010/12/21/frameos-linux-6-preview-released/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 16:56:52 +0000</pubDate>
		<dc:creator>rubiojr</dc:creator>
				<category><![CDATA[chef]]></category>
		<category><![CDATA[FrameOS]]></category>
		<category><![CDATA[packages]]></category>
		<category><![CDATA[frameos]]></category>
		<category><![CDATA[rhel]]></category>
		<category><![CDATA[rhel6]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.frameos.org/?p=194</guid>
		<description><![CDATA[Ruby Centric, DevOps Friendly and RHEL6 based: FrameOS Linux 6 Preview is now available for download! What&#8217;s new in FrameOS Linux 6? * RHEL 6 based * Ruby 1.8.7 Enterprise Edition installed by default * Ruby 1.9.2-p0 installed by default (in parallel with 1.8.7 EE) * Chef (client) 0.9.12 * NGINX 0.8.54 available in the [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.frameos.org%2F2010%2F12%2F21%2Fframeos-linux-6-preview-released%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.frameos.org%2F2010%2F12%2F21%2Fframeos-linux-6-preview-released%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div>Ruby Centric, DevOps Friendly and RHEL6 based: <strong>FrameOS Linux 6 Preview</strong> is now available for download!

<strong>
What&#8217;s new in FrameOS Linux 6?
</strong>
* RHEL 6 based
* Ruby 1.8.7 Enterprise Edition installed by default
* Ruby 1.9.2-p0 installed by default (in parallel with 1.8.7 EE)
* Chef (client) 0.9.12
* NGINX 0.8.54 available in the core repository
* JRuby 1.5.6 available in the core repository
*  330 MB ISO installer
* Core install disk footprint: ~ 650 MB
* Core install RPMs installed: ~ 183 packages

<strong>
What&#8217;s old in FrameOS Linux 6?
</strong>
See 	<a href="http://www.frameos.org">http://www.frameos.org</a> to read what FrameOS Linux is about.

<strong>
ISO Installer Download
</strong>

Download it from here:

<a href="http://goo.gl/OVlvy">http://download.frameos.org/frameos-6-preview.iso
</a>
<strong>
Virtual Appliance Download
</strong>
<a href="http://goo.gl/dQ2Ue">http://download.frameos.org/frameos-6-preview.zip</a>

<em><strong>Special thanks</strong> to CentOS, Fedora, RPMForge, Red Hat, Opscode and Ruby communities and contributors. Without them, FrameOS Linux would not exist, and taming Data Centers wouldn&#8217;t be so much fun.</em>

<strong>UPDATE:</strong>
* Fixed text mode installs.
* Added redis/hiredis to repository. 
* Updated some packages from upstream.
]]></content:encoded>
			<wfw:commentRss>http://blog.frameos.org/2010/12/21/frameos-linux-6-preview-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ruby/trac: create a new ticket from an email</title>
		<link>http://blog.frameos.org/2008/07/16/rubytrac-create-a-new-ticket-from-an-email/</link>
		<comments>http://blog.frameos.org/2008/07/16/rubytrac-create-a-new-ticket-from-an-email/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 18:11:52 +0000</pubDate>
		<dc:creator>rubiojr</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[h]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://rubiojr.netcorex.org/blog/?p=32</guid>
		<description><![CDATA[A little ruby script to create a new ticket in trac from an email message.Needs rubygems, hpricot, mechanize and tmail.Edit the header of the script and change user, password, etc.Save the email as a text file (usually right click -&#62; save as.. in your mail client).Run &#8220;email2ticket emailmsg.txt&#8221; where emailmsg.txt is the email you just [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.frameos.org%2F2008%2F07%2F16%2Frubytrac-create-a-new-ticket-from-an-email%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.frameos.org%2F2008%2F07%2F16%2Frubytrac-create-a-new-ticket-from-an-email%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div>A little ruby script to create a new ticket in trac from an email message.<br /><br />Needs rubygems, hpricot, mechanize and tmail.<br /><br /><ol><li>Edit the header of the script and change user, password, etc.</li><li>Save the email as a text file (usually right click -&gt; save as.. in your mail client).</li><li>Run <span style="font-weight: bold; font-style: italic;">&#8220;email2ticket emailmsg.txt&#8221;</span> where <span style="font-style: italic;">emailmsg.txt</span> is the email you just saved.<br /></li></ol><br />The subject of the new ticket will be the subject from the message and the description of the ticket will be the body from the message.<br /><br />The script asumes you are using http authentication with your trac.<br /><br />Tested with <a href="http://trac.edgewall.org">trac</a> 0.11<br /><br />The script <a href="http://rubiojr.netcorex.org/scripts/email2ticket">here</a>.<br /><br /><br />]]></content:encoded>
			<wfw:commentRss>http://blog.frameos.org/2008/07/16/rubytrac-create-a-new-ticket-from-an-email/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

