Skip to content

Commit

Permalink
Update base recipe #5
Browse files Browse the repository at this point in the history
  • Loading branch information
bossato committed Feb 1, 2015
1 parent 7bde10a commit f3b2b3a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion site-cookbooks/base/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,21 @@
# Cookbook Name:: base
# Recipe:: default
#
# Copyright 2015, YOUR_COMPANY_NAME
# Copyright 2015, Kazuya Sato
#
# All rights reserved - Do Not Redistribute
#

# Update yum
execute "yum-update" do
user 'root'
command 'yum -y update'
action :run
end

# Install packages
%w{gcc make zlib zlib-devel libffi-devel openssl-devel git vim tmux}.each do |pkg|
package pkg do
action :install
end
end

0 comments on commit f3b2b3a

Please sign in to comment.