Commit 403d8bb3 authored by Fabrice Gangler's avatar Fabrice Gangler 🎨
Browse files

FIX: enable clock synchronization (required for OTP)

parent 1f26cb83
......@@ -23,6 +23,8 @@ mod 'puppetlabs-translate', '2.0.0'
mod 'puppetlabs-vcsrepo', '3.0.0'
mod 'puppetlabs-yumrepo_core', '1.0.3'
#Dependencies for NTP:
mod 'puppetlabs-ntp', '8.5.0'
# Modules from others: A -> Z
#Dependencies for rbenv: stdlib
......
......@@ -60,7 +60,10 @@ accounts::user { $_system_username:
}
# #############################################################################
# Use Europe/Paris timezone
# TIMEZONE and Clock synchronization
# - Clock synchronization is required for OTP (super-admin login)
# - Use Europe/Paris timezone
include ntp
exec { 'timedatectl set-timezone':
command => "/usr/bin/timedatectl set-timezone Europe/Paris",
unless => "/usr/bin/timedatectl | grep Europe/Paris",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment