summaryrefslogtreecommitdiff
path: root/share/debian-edu-config/tools/gosa-create-host-itzks
diff options
context:
space:
mode:
Diffstat (limited to 'share/debian-edu-config/tools/gosa-create-host-itzks')
-rwxr-xr-xshare/debian-edu-config/tools/gosa-create-host-itzks14
1 files changed, 14 insertions, 0 deletions
diff --git a/share/debian-edu-config/tools/gosa-create-host-itzks b/share/debian-edu-config/tools/gosa-create-host-itzks
new file mode 100755
index 0000000..ae484b0
--- /dev/null
+++ b/share/debian-edu-config/tools/gosa-create-host-itzks
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+set -e
+
+HOST="${1}"
+
+# call Debian Edu's gosa-create-host
+/usr/share/debian-edu-config/tools/gosa-create-host ${@}
+
+# ITZkS: assure that host keytabs are readable by puppet
+chown :puppet /etc/debian-edu/host-keytabs/*.keytab
+chmod 0640 /etc/debian-edu/host-keytabs/*.keytab
+
+exit 0