diff --git a/manifests/ident.pp b/manifests/ident.pp
index a020b83f611fae5b39089b6b78e6093990562200..22b05ea7f2fd740590da194678104b2a8cac5be5 100644
--- a/manifests/ident.pp
+++ b/manifests/ident.pp
@@ -39,6 +39,6 @@ class irc_bouncer::ident {
       'File /etc/oidentd.conf',
       'Format global { reply "%user%" }',
       '', # Trailing newline
-    ].map (percent_encode).join("\n"),
+    ].map |$s| { percent_encode($s) }.join("\n"),
   }
 }