From 41ce18cc8ea239d1633fc6cd9e9f599957a82e74 Mon Sep 17 00:00:00 2001 From: Ian Taylor Date: Fri, 5 Jun 2009 12:38:35 -0400 Subject: Changed tabs to spaces without interfering with indentation or alignment --- .../sample-module/lib/puppet/parser/functions/hostname_to_dn.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/modules/sample-module/lib') diff --git a/examples/modules/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb b/examples/modules/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb index 9f732b5bc..9dfa3f54c 100644 --- a/examples/modules/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb +++ b/examples/modules/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb @@ -30,7 +30,7 @@ # See: http://reductivelabs.com/trac/puppet/wiki/WritingYourOwnFunctions module Puppet::Parser::Functions - newfunction(:hostname_to_dn, :type => :rvalue, :doc => "Given 'foo.bar.com', return 'dc=foo,dc=bar,dc=com'.") do |args| - args[0].split(/\./).map do |s| "dc=%s"%[s] end.join(",") - end + newfunction(:hostname_to_dn, :type => :rvalue, :doc => "Given 'foo.bar.com', return 'dc=foo,dc=bar,dc=com'.") do |args| + args[0].split(/\./).map do |s| "dc=%s"%[s] end.join(",") + end end -- cgit