~avishai-ish-shalom/cloud-init/chef-refactor

« back to all changes in this revision

Viewing changes to cloudinit/config/cc_chef.py

  • Committer: Avishai Ish-Shalom
  • Date: 2013-05-15 17:16:40 UTC
  • Revision ID: avishai.ish-shalom@mail.huji.ac.il-20130515171640-2qmjb7k9szqgjqrq
cc_chef: gem install method should install build-essential

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
 
202
202
def get_ruby_packages(version):
203
203
    # return a list of packages needed to install ruby at version
204
 
    pkgs = ['ruby%s' % version, 'ruby%s-dev' % version]
 
204
    pkgs = ['ruby%s' % version, 'ruby%s-dev' % version, 'build-essential']
205
205
    if version == "1.8":
206
206
        pkgs.extend(('libopenssl-ruby1.8', 'rubygems1.8'))
207
207
    return pkgs