Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,13 @@
maintainer_email "larry@L2G.to"
license "Apache 2.0"
description "Configure the system timezone on Linux systems"
version "0.2.0"
version "0.2.1"

replaces "timezone"

# These are platform versions where this cookbook has been tested at some point
# in time
supports "amazon"
supports "centos"
supports "debian"
supports "fedora"
supports "gentoo"
supports "ubuntu"
supports "pld"
supports "rhel"

%w{ debian ubuntu rhel amazon centos scientific fedora gentoo pld }.each do |os|
supports os
end
2 changes: 1 addition & 1 deletion recipes/pld.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
owner 'root'
group 'root'
mode 0644
notifies :reload, 'service[timezone]'
notifies :restart, 'service[timezone]', :immediately
end

service 'timezone' do
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions templates/redhat/clock.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ZONE="<%= node[:tz] %>"