fuel-library/deployment/puppet/docker/manifests/container.pp
Matthew Mosesohn b4aaee7e23 Set container time to UTC
Create new class docker::container for
related tweaks necessary to apply to all
Docker containers.

Change-Id: Ibba7bf58da0aac1d760d3550edb9a9508d71b1c4
Closes-bug: #1372439
2014-09-23 12:33:52 +04:00

14 lines
220 B
Puppet

class docker::container (
$tz = 'UTC',
$zoneinfo_dir = '/usr/share/zoneinfo',
) {
if $tz != false {
file { '/etc/localtime':
ensure => present,
target => "${zoneinfo_dir}/${tz}"
}
}
}