diff --git a/metadata.rb b/metadata.rb index 76a044b..6678d87 100644 --- a/metadata.rb +++ b/metadata.rb @@ -3,7 +3,7 @@ maintainer_email "larry@L2G.to" license "Apache 2.0" description "Configure the system timezone on *ix systems" -version "0.2.9992" +version "0.2.9993" replaces "timezone" diff --git a/recipes/debian.rb b/recipes/debian.rb index aaff585..5aeb16c 100644 --- a/recipes/debian.rb +++ b/recipes/debian.rb @@ -13,6 +13,10 @@ TIMEZONE_FILE = '/etc/timezone' +file '/etc/localtime' do + action :delete +end + template TIMEZONE_FILE do source "timezone.conf.erb" owner 'root'