Merge "Update NTP manifest to ensure controller syncs from mate if no servers"
This commit is contained in:
commit
a96b44435e
@ -26,7 +26,7 @@ class platform::ntp (
|
|||||||
exec { 'start-ntpdate':
|
exec { 'start-ntpdate':
|
||||||
command => '/usr/bin/systemctl start ntpdate.service',
|
command => '/usr/bin/systemctl start ntpdate.service',
|
||||||
returns => [ 0, 1 ],
|
returns => [ 0, 1 ],
|
||||||
onlyif => "grep -q '^server' /etc/ntp.conf",
|
onlyif => "test ! -f /etc/platform/simplex || grep -q '^server' /etc/ntp.conf",
|
||||||
}
|
}
|
||||||
|
|
||||||
exec { 'ntpdate-systemd-daemon-reload':
|
exec { 'ntpdate-systemd-daemon-reload':
|
||||||
|
Loading…
Reference in New Issue
Block a user