From 384a20ffbca66330279837cccc742fb9e7459ede Mon Sep 17 00:00:00 2001
From: Nico Schottelius <nico@brief.schottelius.org>
Date: Fri, 2 Nov 2012 16:58:52 +0100
Subject: [PATCH] building ruby requires bzip2 to be present to extract the
 tar.bz2

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
---
 cdist/conf/type/__rvm_ruby/manifest | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100755 cdist/conf/type/__rvm_ruby/manifest

diff --git a/cdist/conf/type/__rvm_ruby/manifest b/cdist/conf/type/__rvm_ruby/manifest
new file mode 100755
index 00000000..65cf80a1
--- /dev/null
+++ b/cdist/conf/type/__rvm_ruby/manifest
@@ -0,0 +1,25 @@
+#!/bin/sh
+#
+# 2012 Nico Schottelius (nico-cdist at schottelius.org)
+#
+# This file is part of cdist.
+#
+# cdist is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# cdist is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with cdist. If not, see <http://www.gnu.org/licenses/>.
+#
+#
+
+# Required packages for building ruby
+for package in bzip2; do
+    __package --state present
+done