From 8f97e0a145044ad96011956ed21fe4570c0e5f07 Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Fri, 20 Nov 2015 20:25:34 -0800 Subject: [PATCH] Change timezone to 'Etc/UTC' There is a bug in the timezone module[1] that causes the file /etc/timezone to be updated on every puppet run, which also triggers updating /etc/localtime[2]. Setting the timezone to 'Etc/UTC' works around the bug. Both Ubuntu and CentOS 6/7 will accept this value and accordingly set the timezone to UTC. [1] https://github.com/saz/puppet-timezone/issues/27#issuecomment-110395619 [2] http://puppetboard.openstack.org/report/ask.openstack.org/b2283efae27b623cb7a1e7b5e99c62fe3a2a98ef Change-Id: I682154c077856984c61daee3984abfe2ca3294f8 --- modules/openstack_project/manifests/template.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openstack_project/manifests/template.pp b/modules/openstack_project/manifests/template.pp index fa77822cd9..b3c791842d 100644 --- a/modules/openstack_project/manifests/template.pp +++ b/modules/openstack_project/manifests/template.pp @@ -69,7 +69,7 @@ class openstack_project::template ( } class { 'timezone': - timezone => 'UTC', + timezone => 'Etc/UTC', }