b4aaee7e23
Create new class docker::container for related tweaks necessary to apply to all Docker containers. Change-Id: Ibba7bf58da0aac1d760d3550edb9a9508d71b1c4 Closes-bug: #1372439
14 lines
220 B
Puppet
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}"
|
|
}
|
|
}
|
|
|
|
}
|