Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lonlone Lee
base
Commits
9454fddd
Commit
9454fddd
authored
Sep 28, 2016
by
Karl Kornel
Browse files
ntp: Disable systemd-timesyncd on RHEL 8
parent
89ffd69d
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/ntp.pp
View file @
9454fddd
...
...
@@ -38,6 +38,14 @@ class base::ntp {
},
notify
=>
Service
[
'ntpd'
],
}
# On RHEL 8, we expect that systemd-timesync will be present, and not
# masked by NTP's installation. So, disbale the service.
if
(
$::lsbmajdistrelease
==
8
)
{
service
{
'systemd-timesyncd'
:
ensure
=>
stopped
,
enable
=>
false
,
}
}
}
'Debian'
:
{
package
{
'ntpdate'
:
ensure
=>
present
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment