From 45e06d9af541be9c914eb2cbb4fc50fd22e8445f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Diemer?= <stephane.diemer@ubicast.eu>
Date: Wed, 8 Feb 2017 14:01:30 +0100
Subject: [PATCH] Added missing ntp restart command.

---
 2.Common_services/2.NTP/0_setup.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/2.Common_services/2.NTP/0_setup.py b/2.Common_services/2.NTP/0_setup.py
index 33a2358d..b5c15bb3 100644
--- a/2.Common_services/2.NTP/0_setup.py
+++ b/2.Common_services/2.NTP/0_setup.py
@@ -11,5 +11,6 @@ def setup(interactive=True):
         dict(line='write', template='%s/ntp.conf' % dir_path, target='/etc/ntp.conf', params=(
             ('{{ NTP_SERVER1 }}', utils.get_conf('NTP_SERVER1') or 'ntp.ubuntu.com'),
         )),
+        'service ntp restart',
     ]
     utils.run_commands(cmds)
-- 
GitLab