forked from chef-boneyard/ruby
-
Notifications
You must be signed in to change notification settings - Fork 1
/
metadata.rb
24 lines (21 loc) · 1.09 KB
/
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
24
name "ruby"
maintainer "Opscode, Inc."
maintainer_email "[email protected]"
license "Apache 2.0"
description "Installs Ruby and related packages"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.9.2"
recipe "ruby::default", "Installs Ruby and related packages"
recipe "ruby::1.8", "Installs Ruby 1.8 and related packages"
recipe "ruby::1.9", "Installs Ruby 1.9 and related packages"
recipe "ruby::1.9.1", "Installs Ruby 1.9.1 and related packages"
recipe "ruby::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