Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9f914b59cc
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (9 sloc) 0.297 kb
# Set system timezone
#
# NOTE: Set the "timezone" field to override default.
timezone = lookup(:timezone) rescue "America/Los_Angeles"
cp "/usr/share/zoneinfo/"+timezone, "/etc/localtime"
edit "/etc/timezone", :params => {:timezone => timezone} do
delete /.*/
prepend params[:timezone]
end
Jump to Line
Something went wrong with that request. Please try again.