lib/cap_bootstrap/recipes/base.rb in cap_bootstrap-0.1 vs lib/cap_bootstrap/recipes/base.rb in cap_bootstrap-0.2
- old
+ new
@@ -9,9 +9,12 @@
end
namespace :deploy do
desc "Install everything onto the server"
task :install do
+ run "#{sudo} bash -c 'echo UTC > /etc/timezone'"
+ run "#{sudo} cp /usr/share/zoneinfo/UTC /etc/localtime"
+ run "#{sudo} dpkg-reconfigure -f noninteractive tzdata"
run "#{sudo} apt-get -y update"
run "#{sudo} apt-get -y install python-software-properties"
end
end
end