Skip to content

Instantly share code, notes, and snippets.

@paul
Created July 1, 2010 21:52
Show Gist options
  • Save paul/460620 to your computer and use it in GitHub Desktop.
Save paul/460620 to your computer and use it in GitHub Desktop.
#
# Cookbook Name:: ruby_enterprise
# Recipe:: default
#
# Author:: Joshua Timberman (<[email protected]>)
# Author:: Sean Cribbs (<[email protected]>)
# Author:: Michael Hale (<[email protected]>)
#
# Copyright:: 2009-2010, Opscode, Inc.
# Copyright:: 2009, Sean Cribbs
# Copyright:: 2009, Michael Hale
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
url = "http://rubyforge.org/frs/download.php/71098/ruby-enterprise_1.8.7-2010.02_amd64_ubuntu10.04.deb"
filename = File.basename(url)
path = "/tmp/#{filename}"
remote_file path do
source url
end
package "ruby_enterprise" do
source path
action :install
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment