From a099d49ff94e58ddf63e48e51f7052c042847c7e Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 15 Sep 2025 10:02:20 +0200 Subject: sbin/itzks-puppetserver-list-known-hosts: Syntax fix in if-clause. --- sbin/itzks-puppetserver-list-known-hosts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/itzks-puppetserver-list-known-hosts') 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 -- cgit v1.2.3