Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging in other peoples fixes, and fixing redhat bug #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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 "[email protected]"
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] %>"