From c0a9fb63b11a977b72386fd30e7647a27e012e06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Filip=20Str=C3=B6mb=C3=A4ck?= <filip.stromback@liu.se>
Date: Thu, 20 Jun 2024 13:13:08 +0200
Subject: [PATCH] Added temporary logging to the tal-cli update.

---
 manifests/tal_cli.pp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/manifests/tal_cli.pp b/manifests/tal_cli.pp
index d4f2775..ed6610a 100644
--- a/manifests/tal_cli.pp
+++ b/manifests/tal_cli.pp
@@ -74,7 +74,7 @@ class aes::tal_cli (
     path        => '/bin:/usr/bin',
     environment => ['HOME=/home/examadm'],
     creates     => '/home/examadm/tal-cli/source/tal',
-    command     => '/home/examadm/tal-cli/on_update.sh',
+    command     => '/home/examadm/tal-cli/on_update.sh | tee /home/examadm/tal-cli/log.txt',
     require     => File['/home/examadm/tal-cli/on_update.sh'],
   }
 
-- 
GitLab