From e9a92c3dfbb80609e41fafaed14817b946c6130d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Filip=20Str=C3=B6mb=C3=A4ck?= <filip.stromback@liu.se>
Date: Mon, 7 Dec 2020 11:26:07 +0100
Subject: [PATCH] Added content line to the keytab file.

---
 manifests/auth.pp | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/manifests/auth.pp b/manifests/auth.pp
index d4eb56a..de117eb 100644
--- a/manifests/auth.pp
+++ b/manifests/auth.pp
@@ -93,10 +93,11 @@ class aes::auth(
   }
 
   file { "${auth_home}/keys/kerberos.keytab" :
-    ensure => file,
-    owner  => root,
-    group  => "${auth_group}",
-    mode   => "0640"
+    ensure  => file,
+    owner   => root,
+    group   => "${auth_group}",
+    mode    => "0640",
+    content => "$keytab"
   }
 
   exec { 'update-auth-repo' :
-- 
GitLab