forked from chef-boneyard/cookbooks
/
metadata.rb
23 lines (20 loc) · 1014 Bytes
/
metadata.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
maintainer "Opscode, Inc."
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Installs Ruby and related packages"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
version "0.9.0"
recipe "ruby", "Installs Ruby and related packages"
recipe "1.8", "Installs Ruby 1.8 and related packages"
recipe "1.9", "Installs Ruby 1.9 and related packages"
recipe "1.9.1", "Installs Ruby 1.9.1 and related packages"
recipe "symlinks", "Installs symlinks for the default Ruby version"
attribute "languages/ruby/default_version",
:display_name => "Default Ruby version",
:recipes => [ "ruby", "symlinks" ],
:choice => [ "1.8", "1.9", "1.9.1" ],
:default => "1.8",
:description => "The Ruby version to install with the ruby recipe and create symlinks for with the symlinks recipe. Unfortunately this setting only works fully on Ubuntu, Debian and Gentoo."
%w{ centos redhat fedora ubuntu debian arch gentoo }.each do |os|
supports os
end