We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dd5010 commit f418701Copy full SHA for f418701
manifests/config.pp
@@ -34,7 +34,9 @@
34
}
35
'Debian': {
36
if $facts['os']['name'] == 'Ubuntu' {
37
- if $ntp::user and $facts['os']['release']['major'] == '18.04' {
+ if (versioncmp($facts['os']['release']['major'], '18.04') >= 0 and
38
+ versioncmp($facts['os']['release']['major'], '24.04') < 0 and
39
+ $ntp::user) {
40
file_line { 'Set NTPD daemon user':
41
ensure => present,
42
path => '/usr/lib/ntp/ntp-systemd-wrapper',
0 commit comments