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
This commit is contained in:
parent
9587e8e093
commit
8f97e0a145
@ -69,7 +69,7 @@ class openstack_project::template (
|
||||
}
|
||||
|
||||
class { 'timezone':
|
||||
timezone => 'UTC',
|
||||
timezone => 'Etc/UTC',
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user