diff --git a/resources/templates/provision/polycom/4.x/{$mac}.cfg b/resources/templates/provision/polycom/4.x/{$mac}.cfg index c00155db74..d40c29c3d2 100644 --- a/resources/templates/provision/polycom/4.x/{$mac}.cfg +++ b/resources/templates/provision/polycom/4.x/{$mac}.cfg @@ -115,10 +115,10 @@ tcpIpApp.sntp.address="{$ntp_server_primary}" tcpIpApp.sntp.gmtOffset.overrideDHCP="1" tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}" - {if $daylight_savings_enabled == "false"} - tcpIpApp.sntp.daylightSavings.enable="0" - {else} + {if $daylight_savings_enabled} tcpIpApp.sntp.daylightSavings.enable="1" + {else} + tcpIpApp.sntp.daylightSavings.enable="0" {/if} tcpIpApp.sntp.daylightSavings.fixedDayEnable="0" tcpIpApp.sntp.daylightSavings.start.month="{$daylight_savings_start_month}" diff --git a/resources/templates/provision/polycom/5.x/{$mac}.cfg b/resources/templates/provision/polycom/5.x/{$mac}.cfg index c13d9392d8..27760de660 100644 --- a/resources/templates/provision/polycom/5.x/{$mac}.cfg +++ b/resources/templates/provision/polycom/5.x/{$mac}.cfg @@ -126,10 +126,10 @@ tcpIpApp.sntp.address="{$ntp_server_primary}" tcpIpApp.sntp.gmtOffset.overrideDHCP="1" tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}" - {if $daylight_savings_enabled == "false"} - tcpIpApp.sntp.daylightSavings.enable="0" - {else} + {if $daylight_savings_enabled} tcpIpApp.sntp.daylightSavings.enable="1" + {else} + tcpIpApp.sntp.daylightSavings.enable="0" {/if} tcpIpApp.sntp.daylightSavings.fixedDayEnable="0" tcpIpApp.sntp.daylightSavings.start.month="{$daylight_savings_start_month}" @@ -144,7 +144,7 @@ tcpIpApp.sntp.daylightSavings.stop.dayOfWeek.lastInMonth="0" />