summaryrefslogtreecommitdiff
path: root/sbin/itzks-puppetserver-list-known-hosts
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2025-09-15 10:02:20 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2025-09-15 10:02:20 +0200
commita099d49ff94e58ddf63e48e51f7052c042847c7e (patch)
tree140d2c1535633df5a7b3542e0b7dc153443d2938 /sbin/itzks-puppetserver-list-known-hosts
parent88260358cc3ce80acd834b965703cce541275c6f (diff)
downloaditzks-systems-a099d49ff94e58ddf63e48e51f7052c042847c7e.tar.gz
itzks-systems-a099d49ff94e58ddf63e48e51f7052c042847c7e.tar.bz2
itzks-systems-a099d49ff94e58ddf63e48e51f7052c042847c7e.zip
sbin/itzks-puppetserver-list-known-hosts: Syntax fix in if-clause.
Diffstat (limited to 'sbin/itzks-puppetserver-list-known-hosts')
-rwxr-xr-xsbin/itzks-puppetserver-list-known-hosts2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/itzks-puppetserver-list-known-hosts b/sbin/itzks-puppetserver-list-known-hosts
index 49d63d7..1d619b2 100755
--- a/sbin/itzks-puppetserver-list-known-hosts
+++ b/sbin/itzks-puppetserver-list-known-hosts
@@ -42,7 +42,7 @@ else
SIGNED_CERTS_PATH="/etc/puppet/puppetserver/ca/signed"
-}
+fi
ls "${SIGNED_CERTS_PATH}" | cut -d "." -f1-2 | while read host; do
getent hosts $host