From 72b165e72bd5789a3f00b5bf0574f5ed0786d580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20L=2E=20Mateo?= Date: Mon, 25 Sep 2023 14:38:30 +0200 Subject: [PATCH] Fix locking in freeradius::module::detail The locking parameter is a Enum['no', 'yes'], so we can't check it as boolean. The assignment must be to the value of the parameter. --- templates/detail.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/detail.erb b/templates/detail.erb index 8e250682..2769dc76 100644 --- a/templates/detail.erb +++ b/templates/detail.erb @@ -87,7 +87,7 @@ detail <%= @name %> { # # locking = yes <%- if @locking -%> - locking = <%= @locking == true %> + locking = <%= @locking %> <%- end -%> #