summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/is_domain_name.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/functions/is_domain_name.rb')
-rw-r--r--lib/puppet/parser/functions/is_domain_name.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/puppet/parser/functions/is_domain_name.rb b/lib/puppet/parser/functions/is_domain_name.rb
index 90ede32..247db3b 100644
--- a/lib/puppet/parser/functions/is_domain_name.rb
+++ b/lib/puppet/parser/functions/is_domain_name.rb
@@ -9,8 +9,7 @@ Returns true if the string passed to this function is a syntactically correct do
) do |arguments|
if (arguments.size != 1) then
- raise(Puppet::ParseError, "is_domain_name(): Wrong number of arguments "+
- "given #{arguments.size} for 1")
+ raise(Puppet::ParseError, "is_domain_name(): Wrong number of arguments given #{arguments.size} for 1")
end
# Only allow string types