You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by om...@apache.org on 2019/04/17 12:18:41 UTC

[incubator-dlab] branch DLAB-569 updated: [DLAB-569]: fixed issue with ntpd

This is an automated email from the ASF dual-hosted git repository.

omartushevskyi pushed a commit to branch DLAB-569
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-569 by this push:
     new 9b2266c  [DLAB-569]: fixed issue with ntpd
9b2266c is described below

commit 9b2266cf72845d32e49a22ecb9bc01d043c64e0d
Author: Oleh Martushevskyi <Ol...@epam.com>
AuthorDate: Wed Apr 17 15:18:32 2019 +0300

    [DLAB-569]: fixed issue with ntpd
---
 infrastructure-provisioning/src/general/lib/os/redhat/common_lib.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/infrastructure-provisioning/src/general/lib/os/redhat/common_lib.py b/infrastructure-provisioning/src/general/lib/os/redhat/common_lib.py
index ffe9072..316f792 100644
--- a/infrastructure-provisioning/src/general/lib/os/redhat/common_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/redhat/common_lib.py
@@ -79,6 +79,7 @@ def find_java_path_local():
 def ensure_ntpd(user, edge_private_ip=''):
     try:
         if not exists('/home/{}/.ensure_dir/ntpd_ensured'.format(user)):
+            sudo('systemctl disable chronyd')
             sudo('yum -y install ntp')
             sudo('echo "tinker panic 0" >> /etc/ntp.conf')
             sudo('systemctl start ntpd')


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org