Skip to content

Instantly share code, notes, and snippets.

@dearing
Created May 5, 2015 21:30
Show Gist options
  • Save dearing/049bd1636d6fd3cf0f32 to your computer and use it in GitHub Desktop.
Save dearing/049bd1636d6fd3cf0f32 to your computer and use it in GitHub Desktop.
quickly strap a student workstation
%w(git nano vim vi wget curl).each do |p|
package p
end
remote_file '/tmp/atom.rpm' do
owner 'student'
group 'student'
mode '0644'
source 'https://atom.io/download/rpm'
end
rpm_package 'atom' do
source '/tmp/atom.rpm'
action :install
end
remote_file '/tmp/chef-dk.rpm' do
owner 'student'
group 'student'
mode '0644'
source 'https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chefdk-0.5.1-1.el6.x86_64.rpm'
end
rpm_package 'chef-dk' do
source '/tmp/chef-dk.rpm'
action :install
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment