summaryrefslogtreecommitdiff
path: root/sbin/itzks-puppetserver-list-known-hosts
diff options
context:
space:
mode:
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