Created
February 12, 2014 10:55
-
-
Save maxmanders/8953408 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
common_packages = %w(python-setuptools python-dev) | |
case node['platform'] | |
when "centos", "redhat", "amazon" | |
(common_packages + ['gcc']).each do |pkg| | |
package pkg do | |
action :install | |
end | |
end | |
when "debian", "ubuntu" | |
(common_packages + ['build-essential']).each do |pkg| | |
package pkg do | |
action :install | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment