forked from chef-boneyard/ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.rb
23 lines (20 loc) · 976 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
name "ruby"
maintainer "Chef Software, Inc."
maintainer_email "[email protected]"
license "Apache 2.0"
description "Installs Ruby and related packages"
version "0.9.3"
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 oracle amazon scientific}.each do |os|
supports os
end