From 1ccec4b341177fe51eb1132429d9c011665633b8 Mon Sep 17 00:00:00 2001
From: Baptiste Jonglez <baptiste.jonglez@imag.fr>
Date: Mon, 30 Nov 2020 09:58:16 +0100
Subject: [PATCH] [conman] Enable console logging on all clusters (bug 12370)

---
 lib/refrepo/gen/puppet/templates/conman.erb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/refrepo/gen/puppet/templates/conman.erb b/lib/refrepo/gen/puppet/templates/conman.erb
index 2ca4e0a79f..15e34c12d3 100644
--- a/lib/refrepo/gen/puppet/templates/conman.erb
+++ b/lib/refrepo/gen/puppet/templates/conman.erb
@@ -72,7 +72,7 @@ server logfile="/var/log/conman.log"
         ipmiopts += ",W:#{opt}" if opt != nil
       end
 
-%>console name="<%= node_uid %>" dev="<%= dev %><%= " #{dev_args}" if dev_args %>"<%= " ipmiopts=\"#{ipmiopts}\"" if ipmiopts %>
+      %>console name="<%= node_uid %>" dev="<%= dev %><%= " #{dev_args}" if dev_args %>"<%= " ipmiopts=\"#{ipmiopts}\"" if ipmiopts %> log="/var/log/conman/<%= node_uid %>.log"
 <%   } %>
 <% } %>
 
-- 
GitLab