From 7ecd4156f07c43b0999600df5d4353d15b0b6588 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sun, 22 Jan 2012 23:06:16 +0000 Subject: do not join directly in the function, some consumers of the information requires specific changes --- modules/openldap/lib/puppet/parser/functions/get_ldap_servers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/openldap/lib/puppet/parser/functions/get_ldap_servers.rb b/modules/openldap/lib/puppet/parser/functions/get_ldap_servers.rb index ce9ec1b1..204da558 100644 --- a/modules/openldap/lib/puppet/parser/functions/get_ldap_servers.rb +++ b/modules/openldap/lib/puppet/parser/functions/get_ldap_servers.rb @@ -8,6 +8,6 @@ module Puppet::Parser::Functions res << "slave-#{i}" } res.map! { |x| "ldap-#{x}." + lookupvar("domain") } - return res.join(" ") + return res end end -- cgit v1.2.1