aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/base/time/ntp.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/profile/base/time/ntp.pp')
-rw-r--r--manifests/profile/base/time/ntp.pp10
1 files changed, 6 insertions, 4 deletions
diff --git a/manifests/profile/base/time/ntp.pp b/manifests/profile/base/time/ntp.pp
index c6ce309..06a3048 100644
--- a/manifests/profile/base/time/ntp.pp
+++ b/manifests/profile/base/time/ntp.pp
@@ -19,10 +19,12 @@
#
class tripleo::profile::base::time::ntp {
- # if installed, we don't want chrony to conflict with ntp.
- package { 'chrony':
- ensure => 'purged',
- before => Service['ntp'],
+ # If installed, we don't want chrony to conflict with ntp. LP#1665426
+ # It should be noted that this work even if the package is not installed
+ service { 'chronyd':
+ ensure => stopped,
+ enable => false,
+ before => Class['ntp']
}
include ::ntp
}