From: Stephen Gran Date: Sun, 31 May 2015 14:39:31 +0000 (+0100) Subject: do integer comparison X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=7f8fe10abeee6b1afc816a831cc60a4b1dffb172;p=mirror%2Fdsa-puppet.git do integer comparison Signed-off-by: Stephen Gran --- diff --git a/modules/debian-org/templates/ldap.conf.erb b/modules/debian-org/templates/ldap.conf.erb index 1a6828dea..cabf456e0 100644 --- a/modules/debian-org/templates/ldap.conf.erb +++ b/modules/debian-org/templates/ldap.conf.erb @@ -20,7 +20,7 @@ URI ldap://db.debian.org BASE dc=debian,dc=org -<% if @lsbmajdistrelease >= 8 -%> +<% if @lsbmajdistrelease.to_i >= 8 -%> TLS_CACERT /etc/ssl/ca-debian/ca-certificates.crt <% else -%> TLS_CACERT /etc/ssl/servicecerts/db.debian.org.crt