Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Add support for raspbian platform #180

wants to merge 1 commit into from

3 participants


Add support for raspian (debian wheezy derivative used by Raspberry Pi)

Tested basic functionality (install system wide 1.9.3-p392, gems, etc.) with latest raspbian image. Previous raspbian images identified themselves with a platform of debian, so should be backwards compatible.


Hi @tdg5 and thank you for sending along a pull request! I'm not sure how we could add this to the test-kitchen suite in .kitchen.yml, is there a Vagrant basebox out there to test this out on? The Opscode bento project may be a good place to look for creating a base image for automated testing.


@tdg5 QEMU actually sounds like a great idea! It may be hard for us to have test-kitchen support right off the bat, but having such a driver would be really nice. I'm currently checking with @jedi4ever to see if veewee could play with QEMU which would pave the way to such a basebox. Coolbeans!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 10, 2013
  1. @tdg5
This page is out of date. Refresh to see the latest.
1 
@@ -79,6 +79,7 @@ the recipes and LWRPs run on these platforms without error:
* ubuntu (10.04/10.10/11.04/12.04)
* debian (6.0)
+* raspbian (7.0)
* mac_os_x (10.6/10.7)
* mac_os_x_server
* suse (openSUSE, SLES)
2  attributes/default.rb
@@ -66,7 +66,7 @@
when "redhat","centos","fedora","scientific","amazon"
node.set['rvm']['install_pkgs'] = %w{sed grep tar gzip bzip2 bash curl git}
default['rvm']['user_home_root'] = '/home'
-when "debian","ubuntu","suse"
+when "debian","ubuntu","suse","raspbian"
node.set['rvm']['install_pkgs'] = %w{sed grep tar gzip bzip2 bash curl git-core}
default['rvm']['user_home_root'] = '/home'
when "mac_os_x", "mac_os_x_server"
1  metadata.rb
@@ -20,6 +20,7 @@
supports "debian"
supports "ubuntu"
supports "suse"
+supports "raspbian"
supports "centos"
supports "amazon"
supports "redhat"
6 providers/ruby.rb
@@ -128,7 +128,7 @@ def install_ruby_dependencies(rubie)
case rubie
when /^ruby-/, /^ree-/, /^rbx-/, /^kiji/
case node['platform']
- when "debian","ubuntu"
+ when "debian","ubuntu","raspbian"
pkgs = %w{ build-essential openssl libreadline6 libreadline6-dev
zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev
sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev
@@ -156,14 +156,14 @@ def install_ruby_dependencies(rubie)
rescue Chef::Exceptions::ResourceNotFound
- "java cookbook not loaded or not on ubuntu/debian, so skipping")
+ "java cookbook not loaded or not on ubuntu/debian/raspbian, so skipping")
# TODO: need to figure out how to pull in java recipe only when needed. For
# now, users of jruby will have to add the "java" recipe to their run_list.
#include_recipe "java"
case node['platform']
- when "debian","ubuntu"
+ when "debian","ubuntu","raspbian"
pkgs += %w{ g++ ant }
Something went wrong with that request. Please try again.