Fall back to puppet-ntp defaults

If the ntp server is not configured in the undercloud.conf, we should
fall back to the defaults provided by puppet-ntp otherwise we end up
with an invalid ntp configuration.

Change-Id: I0000e1cf736b513dbc58c0d39f7e1c0137b660dd
Closes-BUg: #1777140
This commit is contained in:
Alex Schultz 2018-06-18 09:40:50 -06:00
parent 41c401ca65
commit d49442152a
1 changed files with 2 additions and 0 deletions

View File

@ -10,7 +10,9 @@ ctlplane: {{LOCAL_IP}}
controller_host_wrapped: "{{LOCAL_IP_WRAPPED}}"
controller_admin_host: {{UNDERCLOUD_ADMIN_HOST}}
controller_public_host: {{UNDERCLOUD_PUBLIC_HOST}}
{{#UNDERCLOUD_NTP_SERVERS}}
ntp::servers: {{UNDERCLOUD_NTP_SERVERS}}
{{/UNDERCLOUD_NTP_SERVERS}}
sysctl_settings: {{SYSCTL_SETTINGS}}